diff options
author | Garming Sam <garming@catalyst.net.nz> | 2014-01-15 17:39:48 +1300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2014-02-12 13:17:13 +1300 |
commit | b1de1abf7bf3de70faa279bd0617f48434d550e2 (patch) | |
tree | 7c6caf889add9bd7c86e2ff45e7532f28f98d33a /lib | |
parent | 0c7ed5a8ab99aa2a5c9c40e3cea8ce1e58cfe30c (diff) | |
download | samba-b1de1abf7bf3de70faa279bd0617f48434d550e2.tar.gz samba-b1de1abf7bf3de70faa279bd0617f48434d550e2.tar.xz samba-b1de1abf7bf3de70faa279bd0617f48434d550e2.zip |
param: use generate_param.py to generate param_global.h
Pair-programmed-with: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/param/wscript_build | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/param/wscript_build b/lib/param/wscript_build index 2a32133bc1..3d216c4913 100644 --- a/lib/param/wscript_build +++ b/lib/param/wscript_build @@ -25,12 +25,11 @@ bld.SAMBA_GENERATOR('s3_param_h', group='build_source', rule='${PERL} ${SRC[0].abspath(env)} ${SRC[1].abspath(env)} ${SRC[2].abspath(env)} --file ${TGT}') - -bld.SAMBA_GENERATOR('param_global_h', - source= '../../script/mkparamdefs.pl loadparm.c param_functions.c', +bld.SAMBA_GENERATOR('param_global.h', + source= '../../script/generate_param.py ../../docs-xml/smbdotconf/parameters.all.xml', target='param_global.h', group='build_source', - rule='${PERL} ${SRC[0].abspath(env)} ${SRC[1].abspath(env)} ${SRC[2].abspath(env)} --file ${TGT} --generate-scope=GLOBAL') + rule='${PYTHON} ${SRC[0].abspath(env)} --file ${SRC[1].abspath(env)} --output ${TGT} --mode=PARAMDEFS --scope=GLOBAL') bld.SAMBA_LIBRARY('server-role', source='loadparm_server_role.c', |