Welcome to little lamb

Code » anopa » commit c104ddb

Makefile: Switch release tarball to xz

author Olivier Brunel
2017-06-20 17:39:25 UTC
committer Olivier Brunel
2017-06-20 17:39:38 UTC
parent f86e31447c9a6569da836ae6e06c6b75c0f478b9

Makefile: Switch release tarball to xz

Makefile +2 -2

diff --git a/Makefile b/Makefile
index 41f7ee7..69a46b1 100644
--- a/Makefile
+++ b/Makefile
@@ -47,13 +47,13 @@ clean:
 distclean: clean
 	@exec rm -f config.mak package/deps.mak src/include/${package}/config.h $(DOC_TARGETS)
 
-tgz: distclean $(DOC_TARGETS)
+txz: distclean $(DOC_TARGETS)
 	@./tools/gen-deps.sh > package/deps.mak 2> /dev/null && \
 	. package/info && \
 	rm -rf /tmp/$$package-$$version && \
 	cp -a . /tmp/$$package-$$version && \
 	cd /tmp && \
-	tar -zpcv --owner=0 --group=0 --numeric-owner --exclude=.git* -f /tmp/$$package-$$version.tar.gz $$package-$$version && \
+	tar -Jpcv --owner=0 --group=0 --numeric-owner --exclude=.git* -f /tmp/$$package-$$version.tar.xz $$package-$$version && \
 	exec rm -rf /tmp/$$package-$$version
 
 strip: $(ALL_LIBS) $(ALL_BINS)