`make release' tweak to prevent tarball containing trailing NULs (fix from
[sgt/halibut] / Makefile
index 280497f..f20238d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -76,7 +76,7 @@ release:
            ) > reltmp/$(RELDIR)/manifest;                              \
            echo "-DVERSION=\"$(VERSION)\"" > reltmp/$(RELDIR)/version; \
        fi
-       tar chzvoCf reltmp - $(RELDIR) > $(RELDIR).tar.gz
+       tar chzvoCf reltmp $(RELDIR).tar.gz $(RELDIR)
        rm -rf reltmp
 
 else