mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
release: use xz compression
This produces tarballs that are roughly 30% smaller.
This commit is contained in:
parent
1f82039e0d
commit
4bfbd5baa1
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue