From 05ed29cf6ef1eb6268c95c5d38af849c487eeedd Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Thu, 20 Dec 2012 15:00:44 +0100 Subject: [PATCH] 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. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9c7a75f23..fb6ce986a 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: