build-docs script was not setting XML catalog properly. In addition, some time ago pdf versions of images were introduced as generated dependencies in our books but svg -> pdf rule was not added, so building books never finished properly. and Ensure XML_CATALOG_FILES set by default in the environment that runs documentation build, both in docs-xml/Makefile build and in waf build. This should fix problems people see in various environments with docs-xml/Makefile build when not reading docs-xml/build/README. We now set XML_CATALOG_FILES to predefined set of /etc/xml/catalog and our own local catalog (docs-xml/build/catalog.xml for Makefile build) unless the variable is already defined in the environment where make runs.
Created attachment 8075 [details] Fix release script to build full set of documentation
Created attachment 8076 [details] Ensure Makefile in docs-xml always sets XML_CATALOG_FILES (default or user-supplied)
The second attachment is not yet on master (review in samba-technical@) but is necessary to ensure smb.conf.5 is built when using docs-xml/Makefile to build documentation.
Comment on attachment 8075 [details] Fix release script to build full set of documentation lgtm
Comment on attachment 8076 [details] Ensure Makefile in docs-xml always sets XML_CATALOG_FILES (default or user-supplied) lgtm
Thanks a lot for providing the patch! That fixes 'make manpages' without local rewrites for me! :-) Pushed to autobuild-master. Closing out bug report. Thanks!
Autobuild fails. Re-opening as a reminder. Needs to be picked to v4-0-test also.
Re-assigning to Alexander as the autobuild fails.