]> granicus.if.org Git - libexpat/commitdiff
Autotools: Produce .tar.{gz,lz,xz} release archives (#236, #258)
authorSebastian Pipping <sebastian@pipping.org>
Sun, 12 May 2019 17:17:11 +0000 (19:17 +0200)
committerSebastian Pipping <sebastian@pipping.org>
Sun, 12 May 2019 17:19:40 +0000 (19:19 +0200)
expat/Changes
expat/Makefile.am
expat/distribute.sh

index 49eb7ee2d22b256e05d01059335f2af1bf4effc2..0fc289efcdc2c0e1941a594ad578695165513c50 100644 (file)
@@ -13,6 +13,7 @@ Release x.x.x XXX XXXXXX XX XXXX
             #243  Windows: Fix syntax of .def module definition files
        #245 #246  Autotools: Fix check for -fvisibility=hidden for Clang
        #247 #248  Autotools: Fix compilation for lack of docbook2x-man
+       #236 #258  Autotools: Produce .tar.{gz,lz,xz} release archives
 
         Special thanks to:
             Benjamin Peterson
index fbfc469b505aad94fa273b53cbe2be877048805d..81b18780575e69381dab86d6ecced4e9b43a25fd 100644 (file)
@@ -30,8 +30,9 @@
 
 AUTOMAKE_OPTIONS = \
     dist-bzip2 \
+    dist-lzip \
+    dist-xz \
     foreign \
-    no-dist-gzip \
     subdir-objects
 
 ACLOCAL_AMFLAGS = -I m4
index 50829d18514e2a6fe1cd4099d4de8a30d5297d9a..d282f2030cc4c4d3f1aad899779dd139a576086c 100755 (executable)
@@ -10,11 +10,20 @@ PS4='# '
 set -x
 
 version="$(./conftools/get-version.sh lib/expat.h)"
-archive=expat-${version}.tar.bz2
 
 ./buildconf.sh
 ./configure
 make distcheck
 
-gpg --armor --output ${archive}.asc --detach-sign ${archive}
-gpg --verify ${archive}.asc ${archive}
+extensions=(
+    gz
+    bz2
+    lz
+    xz
+)
+
+for ext in ${extensions[@]} ; do
+    archive=expat-${version}.tar.${ext}
+    gpg --armor --output ${archive}.asc --detach-sign ${archive}
+    gpg --verify ${archive}.asc ${archive}
+done