From e114bf94a382c7b1e8e419657524ea07ec5443d3 Mon Sep 17 00:00:00 2001 From: willy tarreau Date: Sun, 19 Mar 2006 21:30:14 +0100 Subject: [PATCH] cleaned the 'tar' target and allowed the 'clean' target to remove the tar.gz file. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.47.2