summaryrefslogtreecommitdiffstats
path: root/docs-xml/wscript_build
diff options
context:
space:
mode:
Diffstat (limited to 'docs-xml/wscript_build')
-rw-r--r--docs-xml/wscript_build15
1 files changed, 8 insertions, 7 deletions
diff --git a/docs-xml/wscript_build b/docs-xml/wscript_build
index 4ee72a4d51..d59d4b57ad 100644
--- a/docs-xml/wscript_build
+++ b/docs-xml/wscript_build
@@ -115,15 +115,16 @@ def smbdotconf_generate_parameter_list(task):
save_file(parameter_all, t , create_dir=True)
return 0
+articles = bld.path.ant_glob("smbdotconf/**/*.xml")
+parameter_all = 'smbdotconf/parameters.all.xml'
+bld.SAMBA_GENERATOR(parameter_all,
+ source=articles,
+ target=parameter_all,
+ rule=smbdotconf_generate_parameter_list,
+ always=True)
+
def SMBDOTCONF_MANPAGE(bld, target):
''' assemble and build smb.conf.5 manual page'''
- articles = bld.path.ant_glob("smbdotconf/**/*.xml")
- parameter_all = 'smbdotconf/parameters.all.xml'
- bld.SAMBA_GENERATOR(parameter_all,
- source=articles,
- target=parameter_all,
- rule=smbdotconf_generate_parameter_list,
- always=True)
bld.SAMBAMANPAGES(target, parameter_all)
if ('XSLTPROC_MANPAGES' in bld.env and bld.env['XSLTPROC_MANPAGES']):