From: Michael Adam Date: Tue, 28 Apr 2015 09:45:43 +0000 (+0200) Subject: build: generate param_table_gen.c from docs in the build X-Git-Tag: talloc-2.1.4~487 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b138d57c4da208d256fcc003256841d67461e19a;p=thirdparty%2Fsamba.git build: generate param_table_gen.c from docs in the build Signed-off-by: Michael Adam Reviewed-by: Jeremy Allison --- diff --git a/lib/param/wscript_build b/lib/param/wscript_build index 66003e99232..c7fe57717db 100644 --- a/lib/param/wscript_build +++ b/lib/param/wscript_build @@ -24,6 +24,12 @@ bld.SAMBA_GENERATOR('param_global.h', group='build_source', rule='${PYTHON} ${SRC[0].abspath(env)} --file ${SRC[1].abspath(env)} --output ${TGT} --mode=PARAMDEFS --scope=GLOBAL') +bld.SAMBA_GENERATOR('param_table_gen.c', + source='../../script/generate_param.py ../../docs-xml/smbdotconf/parameters.all.xml', + target='param_table_gen.c', + group='build_source', + rule='${PYTHON} ${SRC[0].abspath(env)} --file ${SRC[1].abspath(env)} --output ${TGT} --mode=PARAMTABLE') + bld.SAMBA_LIBRARY('server-role', source='loadparm_server_role.c', deps='samba-util',