]> Savannah Git Hosting - gnulib.git/commitdiff
bootstrap: Improve "make dist" tarball reproducability.
authorSimon Josefsson <simon@josefsson.org>
Thu, 27 Mar 2025 19:01:28 +0000 (20:01 +0100)
committerSimon Josefsson <simon@josefsson.org>
Thu, 27 Mar 2025 19:01:42 +0000 (20:01 +0100)
* top/bootstrap-funclib.sh (autogen): Don't pass unnecessary -I's when
invoking autoreconf.  The order of M4 include directories is reflected
in Makefile.in content.  Our GNUmakefile _version rule invoke
autoreconf without any extra -I, and this difference in how autoreconf
is invoked results in different tarballs for "make dist" vs "make
release" which is undesirable.

ChangeLog
top/bootstrap-funclib.sh

index a6b62b9f4434d94e7ac66feecf9f7a22efeba27b..53fa2eb158d776ffa4af454bb319eea221f3461a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2025-03-27  Simon Josefsson  <simon@josefsson.org>
+
+       bootstrap: Improve "make dist" tarball reproducability.
+       * top/bootstrap-funclib.sh (autogen): Don't pass unnecessary -I's
+       when invoking autoreconf.  The order of M4 include directories is
+       reflected in Makefile.in content.  Our GNUmakefile _version rule
+       invoke autoreconf without any extra -I, and this difference in how
+       autoreconf is invoked results in different tarballs for "make
+       dist" vs "make release" which is undesirable.
+
 2025-03-27  Simon Josefsson  <simon@josefsson.org>
 
        maintainer-makefile: Check spelling using 'codespell'.
index 47e015bd245fb36e0b840b1e3bb32e18b5325bb5..81884cc8b3a6953c8536444389807fd621d28700 100644 (file)
@@ -1,6 +1,6 @@
 # A library of shell functions for autopull.sh, autogen.sh, and bootstrap.
 
-scriptlibversion=2025-02-16.12; # UTC
+scriptlibversion=2025-03-27.18; # UTC
 
 # Copyright (C) 2003-2025 Free Software Foundation, Inc.
 #
@@ -1300,7 +1300,7 @@ autogen()
 
   # Invoke autoreconf with --force --install to ensure upgrades of tools
   # such as ylwrap.
-  AUTORECONFFLAGS="--verbose --install --force -I $m4_base $ACLOCAL_FLAGS"
+  AUTORECONFFLAGS="--verbose --install --force $ACLOCAL_FLAGS"
   AUTORECONFFLAGS="$AUTORECONFFLAGS --no-recursive"
 
   # Tell autoreconf not to invoke autopoint or libtoolize; they were run above.