diff options
author | David Bremner <david@tethera.net> | 2019-03-19 07:08:19 -0300 |
---|---|---|
committer | David Bremner <david@tethera.net> | 2019-03-27 17:59:40 -0300 |
commit | 4bfbd5baa1e754e18d58dd6b8052a8072c0bfc2f (patch) | |
tree | f584b7056a6fab7026dfd1ae2b0cb274fc34bbe7 | |
parent | 1f82039e0da1adf078559ef9bf80e2b47858a607 (diff) |
release: use xz compression
This produces tarballs that are roughly 30% smaller.
-rw-r--r-- | Makefile.global | 4 | ||||
-rw-r--r-- | Makefile.local | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.global b/Makefile.global index b54ba9dd..0aee5876 100644 --- a/Makefile.global +++ b/Makefile.global @@ -40,9 +40,9 @@ DEB_TAG=debian/$(UPSTREAM_TAG)-1 RELEASE_HOST=notmuchmail.org RELEASE_DIR=/srv/notmuchmail.org/www/releases RELEASE_URL=https://notmuchmail.org/releases -TAR_FILE=$(PACKAGE)-$(VERSION).tar.gz +TAR_FILE=$(PACKAGE)-$(VERSION).tar.xz ELPA_FILE:=$(PACKAGE)-emacs-$(ELPA_VERSION).tar -DEB_TAR_FILE=$(PACKAGE)_$(VERSION).orig.tar.gz +DEB_TAR_FILE=$(PACKAGE)_$(VERSION).orig.tar.xz SHA256_FILE=$(TAR_FILE).sha256.asc DETACHED_SIG_FILE=$(TAR_FILE).asc diff --git a/Makefile.local b/Makefile.local index 383e0cba..3c6dacbc 100644 --- a/Makefile.local +++ b/Makefile.local @@ -36,7 +36,7 @@ $(TAR_FILE): --transform s_^_$(PACKAGE)-$(VERSION)/_ \ --transform 's_.tmp$$__' --mtime=@$$ct version.tmp rm version.tmp - gzip -n < $(TAR_FILE).tmp > $(TAR_FILE) + xz -C sha256 -9 < $(TAR_FILE).tmp > $(TAR_FILE) @echo "Source is ready for release in $(TAR_FILE)" $(SHA256_FILE): $(TAR_FILE) |