From: willy tarreau Date: Sun, 19 Mar 2006 20:30:14 +0000 (+0100) Subject: cleaned the 'tar' target and allowed the 'clean' target to remove the tar.gz file. X-Git-Tag: v1.2.10~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e114bf94a382c7b1e8e419657524ea07ec5443d3;p=thirdparty%2Fhaproxy.git cleaned the 'tar' target and allowed the 'clean' target to remove the tar.gz file. --- diff --git a/Makefile b/Makefile index 18a46d4eba..c801524d20 100644 --- a/Makefile +++ b/Makefile @@ -117,9 +117,9 @@ haproxy: src/list.o src/chtbl.o src/hashpjw.o haproxy.o clean: rm -f *.[oas] *~ *.rej core haproxy test nohup.out gmon.out src/*.[oas] + rm -f haproxy-$(VERSION).tar.gz haproxy-$(VERSION) -tar: - rm -f haproxy-$(VERSION) +tar: clean ln -s . haproxy-$(VERSION) tar --exclude=haproxy-$(VERSION)/.git --exclude=haproxy-$(VERSION)/haproxy-$(VERSION) -cf - haproxy-$(VERSION)/* | gzip -c9 >haproxy-$(VERSION).tar.gz rm -f haproxy-$(VERSION)