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 <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
brian m. carlson committed
Jan 22, 2017 at 02:41 UTC
c4abba43554228a8c6e3082e7da7f0993c2d6b4b
1 file changed
+1
-1
Documentation/Makefile
+1
-1
@@ -373,7 +373,7 @@ user-manual.pdf: user-manual.xml
373
374
gitman.texi: $(MAN_XML) cat-texi.perl
375
$(QUIET_DB2TEXI)$(RM) $@+ $@ && \
376
- ($(foreach xml,$(MAN_XML),$(DOCBOOK2X_TEXI) --encoding=UTF-8 \
376
+ ($(foreach xml,$(sort $(MAN_XML)),$(DOCBOOK2X_TEXI) --encoding=UTF-8 \
377
--to-stdout $(xml) &&) true) > $@++ && \
378
$(PERL_PATH) cat-texi.perl $@ <$@++ >$@+ && \
379
rm $@++ && \