From: Willy Tarreau Date: Thu, 20 Dec 2012 14:00:44 +0000 (+0100) Subject: BUILD: no need to clean up when making git-tar X-Git-Tag: v1.5-dev16~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05ed29cf6ef1eb6268c95c5d38af849c487eeedd;p=thirdparty%2Fhaproxy.git BUILD: no need to clean up when making git-tar git-tar uses the repository, not the working dir, so it's useless to run "make clean" first. --- diff --git a/Makefile b/Makefile index 9c7a75f232..fb6ce986a7 100644 --- 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: