From: brian m. carlson Date: Sun, 22 Jan 2017 02:41:53 +0000 (+0000) Subject: Documentation: sort sources for gitman.texi X-Git-Tag: v2.12.0-rc0~12^2~4 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/c4abba43554228a8c6e3082e7da7f0993c2d6b4b Documentation: sort sources for gitman.texi Sorting the sources makes it easier to compare the output using diff. In addition, it aids groups creating reproducible builds, as the order of the files is no longer dependent on the file system or other irrelevant factors. Signed-off-by: brian m. carlson Signed-off-by: Junio C Hamano --- diff --git a/Documentation/Makefile b/Documentation/Makefile index b43d66eae6..5e32bbe913 100644 --- a/Documentation/Makefile +++ b/Documentation/Makefile @@ -373,7 +373,7 @@ user-manual.pdf: user-manual.xml gitman.texi: $(MAN_XML) cat-texi.perl $(QUIET_DB2TEXI)$(RM) $@+ $@ && \ - ($(foreach xml,$(MAN_XML),$(DOCBOOK2X_TEXI) --encoding=UTF-8 \ + ($(foreach xml,$(sort $(MAN_XML)),$(DOCBOOK2X_TEXI) --encoding=UTF-8 \ --to-stdout $(xml) &&) true) > $@++ && \ $(PERL_PATH) cat-texi.perl $@ <$@++ >$@+ && \ rm $@++ && \