]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
cleaned the 'tar' target and allowed the 'clean' target to remove the tar.gz file.
authorwilly tarreau <willy@wtap.(none)>
Sun, 19 Mar 2006 20:30:14 +0000 (21:30 +0100)
committerwilly tarreau <willy@wtap.(none)>
Sun, 19 Mar 2006 20:30:14 +0000 (21:30 +0100)
Makefile

index 18a46d4ebabc0f541d53b040317f674f0361b3ca..c801524d20c172fc0ffaaf21ac74d694cf5d92a6 100644 (file)
--- 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)