]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: no need to clean up when making git-tar
authorWilly Tarreau <w@1wt.eu>
Thu, 20 Dec 2012 14:00:44 +0000 (15:00 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 20 Dec 2012 14:00:44 +0000 (15:00 +0100)
git-tar uses the repository, not the working dir, so it's useless to
run "make clean" first.

Makefile

index 9c7a75f23292a095541319a49791070b3ee3a32b..fb6ce986a76b73e10962b49b5fd7e35f8425be48 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -677,7 +677,7 @@ tar:        clean
            -cf - haproxy-$(VERSION)/* | gzip -c9 >haproxy-$(VERSION).tar.gz
        rm -f haproxy-$(VERSION)
 
-git-tar: clean
+git-tar:
        git archive --format=tar --prefix="haproxy-$(VERSION)/" HEAD | gzip -9 > haproxy-$(VERSION)$(SUBVERS).tar.gz
 
 version: