After changing a smb.conf option documentation waf does not rebuild the smb.conf.5 manual page. Steps to reproduce: ------------------- # make WAF_MAKE=1 ./buildtools/bin/waf build Waf: Entering directory `/home/bbaumba/src/git/samba/bin' Selected embedded Heimdal build [ 126/3901] Generating VERSION [ 161/3901] Generating smbd/build_options.c Waf: Leaving directory `/home/bbaumba/src/git/samba/bin' 'build' finished successfully (7.178s) # echo "alles weg" > docs-xml/smbdotconf/protocol/serverminprotocol.xml # make WAF_MAKE=1 ./buildtools/bin/waf build Waf: Entering directory `/home/bbaumba/src/git/samba/bin' Selected embedded Heimdal build [ 126/3901] Generating VERSION [ 161/3901] Generating smbd/build_options.c [ 168/3901] Generating smbdotconf/parameters.all.xml Waf: Leaving directory `/home/bbaumba/src/git/samba/bin' 'build' finished successfully (7.241s) Workaround: ----------- # rm ./bin/default/docs-xml/smbdotconf/parameters.all.xml # rm ./bin/default/docs-xml/manpages/smb.conf.5
This is also affecting my branch to verify that all parameters are documented.
This work in progress branch fixes the problem for me: https://git.samba.org/mat/?p=mat/samba.git;a=shortlog;h=9b7b9bd62efa478e0
Works for me t(In reply to comment #2) > This work in progress branch fixes the problem for me: > https://git.samba.org/mat/?p=mat/samba.git;a=shortlog;h=9b7b9bd62efa478e0 Works for me, too. But it breaks the autobuild.
Björn, any specific details for the autobuild breakage?
logs ?
This works in current master, and I think this was fixed by 2c86758b04515998c690f293fada2cc43116d764 in master for 4.2 and backported to 4.1.