1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

build: generate param_table_gen.c from docs in the build

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Michael Adam 2015-04-28 11:45:43 +02:00 committed by Jeremy Allison
parent 5deeba69d4
commit b138d57c4d

View File

@ -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',