Commit 496163ea authored by Tobias Quathamer's avatar Tobias Quathamer

Use xz compression for tarball creation

parent ff051d79
......@@ -22,17 +22,17 @@ update-po:
done
.PHONY: sign-release
sign-release: iso-codes-$(VERSION).tar.bz2
rm -f iso-codes-$(VERSION).tar.bz2.sig
gpg --detach-sign iso-codes-$(VERSION).tar.bz2
sign-release: iso-codes-$(VERSION).tar.xz
rm -f iso-codes-$(VERSION).tar.xz.sig
gpg --detach-sign iso-codes-$(VERSION).tar.xz
.PHONY: upload
upload:
@if [[ "$(ALIOTH_USERNAME)" == "" ]]; then \
ALIOTH_USERNAME="$(USERNAME)"; \
fi
@if [[ -f "iso-codes-$(VERSION).tar.bz2" ]] \
&& [[ -f "iso-codes-$(VERSION).tar.bz2.sig" ]] \
@if [[ -f "iso-codes-$(VERSION).tar.xz" ]] \
&& [[ -f "iso-codes-$(VERSION).tar.xz.sig" ]] \
&& [[ -n "$(ALIOTH_USERNAME)" ]]; then \
scp iso-codes-$(VERSION).tar.* \
$(ALIOTH_USERNAME)@alioth.debian.org:/srv/home/groups/pkg-isocodes/htdocs/downloads; \
......
......@@ -127,7 +127,7 @@ am__relativize = \
done; \
reldir="$$dir2"
GZIP_ENV = --best
DIST_ARCHIVES = $(distdir).tar.bz2
DIST_ARCHIVES = $(distdir).tar.xz
distuninstallcheck_listfiles = find . -type f -print
am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
| sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
......@@ -484,6 +484,7 @@ distdir: $(DISTFILES)
dist-gzip: distdir
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
$(am__remove_distdir)
dist-bzip2: distdir
tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
$(am__remove_distdir)
......@@ -495,7 +496,6 @@ dist-lzip: distdir
dist-lzma: distdir
tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
$(am__remove_distdir)
dist-xz: distdir
tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
$(am__remove_distdir)
......@@ -514,7 +514,7 @@ dist-zip: distdir
$(am__remove_distdir)
dist dist-all: distdir
tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
$(am__remove_distdir)
# This target untars the dist file and tries a VPATH configuration. Then
......@@ -741,17 +741,17 @@ update-po:
done
.PHONY: sign-release
sign-release: iso-codes-$(VERSION).tar.bz2
rm -f iso-codes-$(VERSION).tar.bz2.sig
gpg --detach-sign iso-codes-$(VERSION).tar.bz2
sign-release: iso-codes-$(VERSION).tar.xz
rm -f iso-codes-$(VERSION).tar.xz.sig
gpg --detach-sign iso-codes-$(VERSION).tar.xz
.PHONY: upload
upload:
@if [[ "$(ALIOTH_USERNAME)" == "" ]]; then \
ALIOTH_USERNAME="$(USERNAME)"; \
fi
@if [[ -f "iso-codes-$(VERSION).tar.bz2" ]] \
&& [[ -f "iso-codes-$(VERSION).tar.bz2.sig" ]] \
@if [[ -f "iso-codes-$(VERSION).tar.xz" ]] \
&& [[ -f "iso-codes-$(VERSION).tar.xz.sig" ]] \
&& [[ -n "$(ALIOTH_USERNAME)" ]]; then \
scp iso-codes-$(VERSION).tar.* \
$(ALIOTH_USERNAME)@alioth.debian.org:/srv/home/groups/pkg-isocodes/htdocs/downloads; \
......
......@@ -16,7 +16,7 @@ dnl 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
AC_INIT([iso-codes],[3.37])
AM_INIT_AUTOMAKE([dist-bzip2 no-dist-gzip foreign])
AM_INIT_AUTOMAKE([dist-xz no-dist-gzip foreign])
AM_MAINTAINER_MODE
AC_SUBST([ACLOCAL_AMFLAGS], ["\${ACLOCAL_FLAGS}"])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment