cleaned the 'tar' target and allowed the 'clean' target to remove the tar.gz file.
diff --git a/Makefile b/Makefile
index 18a46d4..c801524 100644
--- a/Makefile
+++ b/Makefile
@@ -117,9 +117,9 @@
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)