[Fedora-spins] [spin-kickstarts] Handle trying to remake the tar ball

Bruno Wolff III bruno at fedoraproject.org
Sun Jun 30 03:19:38 UTC 2013


commit 314afb81d0feb883ebd888889a1f495e0daf1380
Author: Bruno Wolff III <bruno at wolff.to>
Date:   Sat Jun 29 22:18:08 2013 -0500

    Handle trying to remake the tar ball
    
    Now running make when the tar ball already exists will result
    in it not being recreated.

 Makefile |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/Makefile b/Makefile
index b0c726a..75696da 100644
--- a/Makefile
+++ b/Makefile
@@ -26,7 +26,9 @@ install:
 clean:
 	rm -f $(name)-*.tar.gz
 
-dist:
+dist:	$(name)-$(version).tar.gz
+
+$(name)-$(version).tar.gz:
 	git archive --format=tar --prefix=$(name)-$(version)/ HEAD | gzip > $(name)-$(version).tar.gz
 
 publish:


More information about the spins mailing list