From ad6efa20030026634a6006b22781100c71c833bf Mon Sep 17 00:00:00 2001 From: "Bernhard M. Wiedemann via samba-technical" Date: Mon, 26 Jun 2017 09:46:18 +0200 Subject: [PATCH] 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 (cherry picked from commit eedebe2ef1b6ff92975289b6076f236650744621) --- docs-xml/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs-xml/Makefile b/docs-xml/Makefile index d9ae92b..6a33b17 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)) -- 2.9.4