From: Bernhard M. Wiedemann via samba-technical Date: Mon, 26 Jun 2017 07:46:18 +0000 (+0200) Subject: docs-xml: Sort input file list X-Git-Tag: tdb-1.3.14~160 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eedebe2ef1b6ff92975289b6076f236650744621;p=thirdparty%2Fsamba.git docs-xml: Sort input file list because filesystems return entries in undeterministic order and that ends up in index.xml and influences index.html preventing reproducible builds of samba packages (e.g. for openSUSE) See https://reproducible-builds.org/ for why this matters Signed-off-by: Bernhard M. Wiedemann Reviewed-by: Andrew Bartlett Reviewed-by: David Disseldorp Autobuild-User(master): David Disseldorp Autobuild-Date(master): Tue Jun 27 16:56:06 CEST 2017 on sn-devel-144 --- diff --git a/docs-xml/Makefile b/docs-xml/Makefile index d9ae92b4941..6a33b17e4da 100644 --- a/docs-xml/Makefile +++ b/docs-xml/Makefile @@ -8,7 +8,7 @@ include Makefile.settings # Docs to build MAIN_DOCS = $(patsubst %/index.xml,%,$(wildcard */index.xml)) -MANPAGES = $(wildcard $(MANPAGEDIR)/*.?.xml) +MANPAGES = $(sort $(wildcard $(MANPAGEDIR)/*.?.xml)) # Lists of files to process MANPAGES_PLUCKER = $(patsubst $(MANPAGEDIR)/%.xml,$(PLUCKERDIR)/%.pdb,$(MANPAGES))