diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | DEPENDENCIES | 9 | ||||
-rw-r--r-- | top/GNUmakefile | 2 |
3 files changed, 17 insertions, 1 deletions
@@ -1,3 +1,10 @@ +2022-09-06 Simon Josefsson <simon@josefsson.org> + + gnumakefile: Improve tarball reproducibility. + * top/GNUmakefile (TAR_OPTIONS): Add --sort=name. Suggested by + Tzvetelin Katchov <katchov@gnu.org>. + * DEPENDENCIES: Mention tar 1.28 dependency. + 2022-09-05 Bruno Haible <bruno@clisp.org> pthread-h: Fix compilation error on mingw with --enable-threads=windows. diff --git a/DEPENDENCIES b/DEPENDENCIES index 23fa1f5a8b..3b24f45ad6 100644 --- a/DEPENDENCIES +++ b/DEPENDENCIES @@ -174,3 +174,12 @@ at any time. https://www.gnu.org/software/libtool/ + Download: https://ftp.gnu.org/gnu/libtool/ + +* GNU tar 1.28 or newer. + + Recommended. + Needed if you use the 'gnumakefile' module, which sets TAR_OPTIONS + to --sort=names (added in version 1.28) in GNUmakefile for 'make dist'. + + Homepage: + https://www.gnu.org/software/tar/ + + Download: + https://ftp.gnu.org/gnu/tar/ diff --git a/top/GNUmakefile b/top/GNUmakefile index 7a08c9d55b..a778610d28 100644 --- a/top/GNUmakefile +++ b/top/GNUmakefile @@ -26,7 +26,7 @@ _gl-Makefile := $(wildcard [M]akefile) ifneq ($(_gl-Makefile),) # Make tar archive easier to reproduce. -export TAR_OPTIONS = --owner=0 --group=0 --numeric-owner +export TAR_OPTIONS = --owner=0 --group=0 --numeric-owner --sort=name # Allow the user to add to this in the Makefile. ALL_RECURSIVE_TARGETS = |