summaryrefslogtreecommitdiff
path: root/source4/scripting/bin/wscript_build
diff options
context:
space:
mode:
Diffstat (limited to 'source4/scripting/bin/wscript_build')
-rw-r--r--source4/scripting/bin/wscript_build9
1 files changed, 4 insertions, 5 deletions
diff --git a/source4/scripting/bin/wscript_build b/source4/scripting/bin/wscript_build
index 459b917d01..200562b126 100644
--- a/source4/scripting/bin/wscript_build
+++ b/source4/scripting/bin/wscript_build
@@ -1,8 +1,7 @@
#!/usr/bin/env python
-bld.SAMBA_SCRIPT('samba_dnsupdate', pattern='samba_dnsupdate', installdir='.')
-bld.SAMBA_SCRIPT('samba_spnupdate', pattern='samba_spnupdate', installdir='.')
-bld.SAMBA_SCRIPT('samba_kcc', pattern='samba_kcc', installdir='.')
-bld.SAMBA_SCRIPT('upgradeprovision', pattern='upgradeprovision', installdir='.')
+if bld.CONFIG_SET('AD_DC_BUILD_IS_ENABLED'):
+ for script in ['samba_dnsupdate', 'samba_spnupdate', 'samba_kcc', 'upgradeprovision', 'samba_upgradedns']:
+ bld.SAMBA_SCRIPT(script, pattern=script, installdir='.')
+
bld.SAMBA_SCRIPT('samba-tool', pattern='samba-tool', installdir='.')
-bld.SAMBA_SCRIPT('samba_upgradedns', pattern='samba_upgradedns', installdir='.')