Fixed tar flag and typo in Makefile to make sure archive is

properly compressed.
This commit is contained in:
Jesse Smith 2018-06-18 20:26:58 -03:00
parent 40f40a4166
commit 3a6ebb3c07

View File

@ -11,7 +11,7 @@ SOURCES=contrib COPYING COPYRIGHT doc Makefile man README src
dist: $(TARBALL) dist: $(TARBALL)
@cp $(TARBALL) . @cp $(TARBALL) .
@echo "tarball $(PACKAGE)-$(VERSION).tar.bz2 ready" @echo "tarball $(PACKAGE)-$(VERSION).tar.xz ready"
rm -rf $(TMP) rm -rf $(TMP)
upload: $(SFTPBATCH) upload: $(SFTPBATCH)
@ -32,7 +32,7 @@ $(TARBALL).sig: $(TARBALL)
@gpg -q -ba --use-agent -o $@ $< @gpg -q -ba --use-agent -o $@ $<
$(TARBALL): $(TMP)/$(PACKAGE)-$(VERSION) $(TARBALL): $(TMP)/$(PACKAGE)-$(VERSION)
@tar --exclude=.git --owner=nobody --group=nogroup -cf $@ -C $(TMP) $(PACKAGE)-$(VERSION) @tar --exclude=.git --owner=nobody --group=nogroup -cJf $@ -C $(TMP) $(PACKAGE)-$(VERSION)
$(TMP)/$(PACKAGE)-$(VERSION): $(TMP)/$(PACKAGE)-$(VERSION):
@mkdir -p $(TMP)/$(PACKAGE)-$(VERSION) @mkdir -p $(TMP)/$(PACKAGE)-$(VERSION)