The Samba-Bugzilla – Bug 13198
installed man-pages include build paths
Last modified: 2017-12-22 19:00:40 UTC
The installed smb.conf includes the build path in the defaults for dns update command.
The final install path is not used as when the manpage is generated the is_install flag is set to false and so the internal path is used to satisfy the 'docs' test (checking default values).
XML entities are used to ensure that these paths in the docs match the installed paths on the system.
However, the entity generation in dynconfig/wscript depends on is_install but this is not marked as a dependency so it is not re-run for the 'final' manpages to be installed.
Either that flag needs somehow to become a dependency or these parameters be skipped in the test and the is_install flag not respected in this case.
Found by the debian reproducible builds effort: