Signed-off-by: Stefano Lattarini <[email protected]>
---
automake.in | 3 +++
lib/am/distcheck.mk | 4 ----
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/automake.in b/automake.in
index 71aa25e..331c553 100644
--- a/automake.in
+++ b/automake.in
@@ -3214,6 +3214,9 @@ sub handle_dist ()
my @archive_formats;
if ($relative_dir eq '.')
{
+ # We order @archive_formats by expected duration of the
+ # compressors, slowest first, for better parallelism in
+ # "make dist".
push @archive_formats, 'gzip' unless option 'no-dist-gzip';
foreach my $fmt (qw/shar zip tarZ bzip2 lzip xz/)
{
diff --git a/lib/am/distcheck.mk b/lib/am/distcheck.mk
index 2274039..6569387 100644
--- a/lib/am/distcheck.mk
+++ b/lib/am/distcheck.mk
@@ -26,10 +26,6 @@
# with tar 1.11.2). We do not do anything specific w.r.t. this
# incompatibility since packages where empty directories need to be
# present in the archive are really unusual.
-#
-# We order DIST_TARGETS by expected duration of the compressors,
-# slowest first, for better parallelism in "make dist". Do not
-# reorder DIST_ARCHIVES, users may expect gzip to be first.
am.dist.ext.gzip = tar.gz
am.dist.ext.bzip2 = tar.bz2
--
1.7.12.rc0