summaryrefslogtreecommitdiff
path: root/source4/wscript
diff options
context:
space:
mode:
Diffstat (limited to 'source4/wscript')
-rw-r--r--source4/wscript11
1 files changed, 10 insertions, 1 deletions
diff --git a/source4/wscript b/source4/wscript
index e5c8d23092..880069ed0e 100644
--- a/source4/wscript
+++ b/source4/wscript
@@ -8,7 +8,7 @@ VERSION='4.0.0-alpha13'
import sys, os
sys.path.insert(0, srcdir+"/buildtools/wafsamba")
-import wafsamba, Options, samba_dist
+import wafsamba, Options, samba_dist, Scripting
samba_dist.DIST_DIRS('.')
@@ -147,4 +147,13 @@ def distcheck():
d = Scripting.distcheck
d(subdir='source4')
+def wildcard_cmd(cmd):
+ '''called on a unknown command'''
+ from samba_wildcard import run_named_build_task
+ run_named_build_task(cmd)
+
+def main():
+ from samba_wildcard import wildcard_main
+ wildcard_main(wildcard_cmd)
+Scripting.main = main