summaryrefslogtreecommitdiff
path: root/dynconfig
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2014-08-27 10:13:09 +0200
committerStefan Metzmacher <metze@samba.org>2014-09-05 19:47:06 +0200
commit32ddd5b6559ad22b2ca84262c396dc889d661bab (patch)
treeeb48cfe84495ed5fb3ddb457eb5235b7db51f5d4 /dynconfig
parentbab349c2a1d51409900f05144324d3da5dce4e99 (diff)
downloadsamba-32ddd5b6559ad22b2ca84262c396dc889d661bab.tar.gz
dynconfig/wscript: add dynconfig_varnames()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'dynconfig')
-rwxr-xr-xdynconfig/wscript10
1 files changed, 10 insertions, 0 deletions
diff --git a/dynconfig/wscript b/dynconfig/wscript
index a7cfa0a2d59..1be6aaa872e 100755
--- a/dynconfig/wscript
+++ b/dynconfig/wscript
@@ -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 = []