The Samba-Bugzilla – Bug 12854
manpage/index.html lists links not in alphabetical order
Last modified: 2017-06-29 07:40:21 UTC
When we build the HTML manpages by executing 'make htmlman' in the docs-xml directory, we get output/htmldocs/manpage/index.html file, that have the list of hyperlinks that link to individual HTML manpages.
The problem is that this list is ordered in random, it means not in alphabetical order.
To solve this problem, it sould be modified the 'Makefile' like as follows: ('sort' statement should be added)
--- Makefile.orig 2017-01-11 16:55:14.000000000 +0900
+++ Makefile 2017-06-20 20:29:21.123498429 +0900
@@ -8,7 +8,7 @@
# 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))
Created attachment 13317 [details]
patch for 4.6 cherry-picked from master
Fixed by eedebe2ef1b6ff92975289b6076f236650744621 in master for Samba 4.7.
This was also noticed by Bernhard M. Wiedemann for the reproducible builds effort.
Pushed to autobuild-v4-6-test.
(In reply to Karolin Seeger from comment #2)
Pushed to v4-6-test.
Closing out bug report.