summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2012-05-24 15:24:12 +0300
committerAlexander Bokovoy <ab@samba.org>2012-05-24 16:21:26 +0200
commit838435ab30c03e5db7eb1e80f486528231dffdfc (patch)
treebef7f09a17e2465c25bdee0697b001c478a353a3 /source4/scripting
parentca2b6259b7f0787eb372b56076e63413f530ec12 (diff)
downloadsamba-838435ab30c03e5db7eb1e80f486528231dffdfc.tar.gz
samba-838435ab30c03e5db7eb1e80f486528231dffdfc.tar.bz2
samba-838435ab30c03e5db7eb1e80f486528231dffdfc.zip
s4/scripting: in MIT build do not install samba-tool, it is not usable yet
Diffstat (limited to 'source4/scripting')
-rw-r--r--source4/scripting/bin/wscript_build4
-rw-r--r--source4/scripting/wscript_build7
2 files changed, 4 insertions, 7 deletions
diff --git a/source4/scripting/bin/wscript_build b/source4/scripting/bin/wscript_build
index 200562b126..e95fd03fc0 100644
--- a/source4/scripting/bin/wscript_build
+++ b/source4/scripting/bin/wscript_build
@@ -1,7 +1,5 @@
#!/usr/bin/env python
if bld.CONFIG_SET('AD_DC_BUILD_IS_ENABLED'):
- for script in ['samba_dnsupdate', 'samba_spnupdate', 'samba_kcc', 'upgradeprovision', 'samba_upgradedns']:
+ for script in ['samba-tool', '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='.')
diff --git a/source4/scripting/wscript_build b/source4/scripting/wscript_build
index 221f03086f..2362a642ff 100644
--- a/source4/scripting/wscript_build
+++ b/source4/scripting/wscript_build
@@ -3,18 +3,17 @@
from samba_utils import MODE_755
sbin_files = None
-bin_files = 'bin/samba-tool'
if bld.CONFIG_SET('AD_DC_BUILD_IS_ENABLED'):
sbin_files = 'bin/upgradeprovision bin/samba_dnsupdate bin/samba_spnupdate bin/samba_upgradedns'
- bin_files = bin_files + ' bin/samba_kcc'
if sbin_files:
bld.INSTALL_FILES('${SBINDIR}',
'bin/upgradeprovision bin/samba_dnsupdate bin/samba_spnupdate bin/samba_upgradedns',
chmod=MODE_755, python_fixup=True, flat=True)
-bld.INSTALL_FILES('${BINDIR}',
- bin_files,
+if bld.CONFIG_SET('AD_DC_BUILD_IS_ENABLED'):
+ bld.INSTALL_FILES('${BINDIR}',
+ 'bin/samba-tool bin/samba_kcc',
chmod=MODE_755, python_fixup=True, flat=True)
bld.RECURSE('bin')