]> sourceware.org Git - libabigail.git/commitdiff
Use xz as the default tarball compression format
authorSam James <sam@gentoo.org>
Tue, 8 Nov 2022 07:35:03 +0000 (07:35 +0000)
committerDodji Seketeli <dodji@redhat.com>
Fri, 18 Nov 2022 12:06:09 +0000 (13:06 +0100)
xz is quite a common format for software to be distributed nowadays
because of its size reductions.  With this patch, here is the result
on the master branch at db716e3b15912b7162def1faa704eb7823bbf34:

.rw-r--r--  406M sam   8 Nov 07:27   libabigail-2.2.tar.gz
.rw-r--r--  348M sam   8 Nov 07:26   libabigail-2.2.tar.xz

* configure.ac: add dist-xz to AM_INIT_AUTOMAKE.
* Makefile.am: adjust $(TARBALL) to new extension.
* Makefile.am: pass XZ_OPT="-0" for distcheck-fast.

Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
Makefile.am
configure.ac

index 65a1b12166eb40690b4b4e9ce35c85dadcb5bd0e..a031036825493e90ac1bc37c2630582414e946bb 100644 (file)
@@ -53,7 +53,7 @@ check-valgrind-recursive:
 update-changelog:
        python $(srcdir)/gen-changelog.py > $(srcdir)/ChangeLog
 
-TARBALL = $(PACKAGE_NAME)-$(VERSION).tar.gz
+TARBALL = $(PACKAGE_NAME)-$(VERSION).tar.xz
 RELEASED_BRANCH = master
 
 $(TARBALL): distcheck
@@ -86,7 +86,7 @@ tag-and-all: distcheck check-self-compare
 # the default for GZIP_ENV is --best, which is pretty slow for check runs
 # distcheck-fast therefore compresses with --fast instead
 distcheck-fast:
-       $(MAKE) distcheck GZIP_ENV="--fast"
+       $(MAKE) distcheck GZIP_ENV="--fast" XZ_OPT="-0"
 
 # This makes us compare libabigail.so against its own ABIXML
 # representation.  It's super slow (more than 5 minutes on one of my
index 5aafed37cca2bf14a4d39c891b997b8fce31e567..a2e5b33d3bbfcf00b98c33d3f02dc57a83c18e0a 100644 (file)
@@ -57,7 +57,7 @@ dnl This one is to be able to run "make check-valgrind"
 dnl and have unit tests run under  der Valgrind.
 m4_include([autoconf-archive/ax_valgrind_check.m4])
 
-AM_INIT_AUTOMAKE([1.11.1 foreign subdir-objects tar-ustar parallel-tests])
+AM_INIT_AUTOMAKE([1.11.1 foreign subdir-objects dist-xz tar-ustar parallel-tests])
 AM_MAINTAINER_MODE([enable])
 
 AM_SILENT_RULES([yes])
This page took 0.198573 seconds and 5 git commands to generate.