]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Reduce "make dist" time by 7 minutes.
authorBruno Haible <bruno@clisp.org>
Sat, 15 Sep 2018 22:26:26 +0000 (00:26 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 15 Sep 2018 22:26:26 +0000 (00:26 +0200)
* configure.ac (AM_INIT_AUTOMAKE): Remove dist-xz and dist-lzip options.
* Admin/release-steps: Mention how to create the tarballs with higher
compression after "make dist".

Admin/release-steps
configure.ac

index dab3956e730b0d4ad0de0e379fd54e28242fa865..0999eb25ec47574a3299c4a5043d9fa552f048a3 100644 (file)
@@ -27,7 +27,12 @@ We assume that the following environment variables are set:
 
   Then you will get a distribution tarball:
 
-    gettext-$CURRENT_VERSION-*.tar.xz
+    gettext-$CURRENT_VERSION-*.tar.gz
+
+  If necessary, produce variants with higher compression (takes 7 minutes):
+
+    gzip -d -c < gettext-$CURRENT_VERSION-*.tar.gz | xz -c -e > gettext-$CURRENT_VERSION-*.tar.xz
+    gzip -d -c < gettext-$CURRENT_VERSION-*.tar.gz | lzip -c -9 > gettext-$CURRENT_VERSION-*.tar.lz
 
   Rename it e.g. gettext-ss.tar.xz
 
@@ -154,6 +159,11 @@ We assume that the following environment variables are set:
     # regenerated PO files, specify Makefile manually.
     make -f Makefile distcheck
 
+  If necessary, produce variants with higher compression (takes 7 minutes):
+
+    gzip -d -c < gettext-$CURRENT_VERSION-*.tar.gz | xz -c -e > gettext-$CURRENT_VERSION-*.tar.xz
+    gzip -d -c < gettext-$CURRENT_VERSION-*.tar.gz | lzip -c -9 > gettext-$CURRENT_VERSION-*.tar.lz
+
 ** Upload tarballs:
 
     gnulib/build-aux/gnupload --to ftp.gnu.org:gettext \
index 18ec18309903ffd754d6a4411ba7f1baccc5e2e9..6ea95017377022bbc0b7a10843736150c0cc16c7 100644 (file)
@@ -1,6 +1,5 @@
 dnl Configuration for the toplevel directory of GNU gettext
-dnl Copyright (C) 1995-2003, 2005-2006, 2009-2010, 2015-2016 Free Software
-dnl Foundation, Inc.
+dnl Copyright (C) 1995-2018 Free Software Foundation, Inc.
 dnl
 dnl This program is free software: you can redistribute it and/or modify
 dnl it under the terms of the GNU General Public License as published by
@@ -23,7 +22,7 @@ AC_INIT([gettext],
        [bug-gnu-gettext@gnu.org])
 AC_CONFIG_SRCDIR([gettext-tools/src/msgfmt.c])
 AC_CONFIG_AUX_DIR([build-aux])
-AM_INIT_AUTOMAKE([1.13 silent-rules parallel-tests tar-ustar dist-xz dist-lzip])
+AM_INIT_AUTOMAKE([1.13 silent-rules parallel-tests tar-ustar])
 
 dnl Override automake's tar command used for creating distributions.
 am__tar='${AMTAR} chf - --format=ustar --owner=root --group=root "$$tardir"'