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

dynconfig/wscript: add dynconfig_varnames()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
This commit is contained in:
Stefan Metzmacher 2014-08-27 10:13:09 +02:00
parent bab349c2a1
commit 32ddd5b655

View File

@ -372,6 +372,16 @@ def dynconfig_cflags(bld, list=None):
return cflags
Build.BuildContext.dynconfig_cflags = dynconfig_cflags
def dynconfig_varnames(bld, list=None):
'''work out the dynconfig variables'''
varnames = []
for varname in dynconfig.keys():
if list and not varname in list:
continue
varnames.append(varname)
return varnames
Build.BuildContext.dynconfig_varnames = dynconfig_varnames
def pathconfig_entities(bld, list=None):
'''work out the extra entities for the docs'''
entities = []