dsdb: Honour @SAMBA_FEATURES_SUPPORTED flag in @IDXATTR
[sfrench/samba-autobuild/.git] / source4 / scripting / wscript_build
1 #!/usr/bin/env python
2
3 from samba_utils import MODE_755
4
5 sbin_files = None
6 if bld.CONFIG_SET('AD_DC_BUILD_IS_ENABLED'):
7     sbin_files = 'bin/samba_dnsupdate bin/samba_spnupdate bin/samba_upgradedns bin/samba_kcc'
8
9 if sbin_files:
10     bld.INSTALL_FILES('${SBINDIR}',
11                       sbin_files,
12                       chmod=MODE_755, python_fixup=True, flat=True)
13
14 if bld.CONFIG_SET('AD_DC_BUILD_IS_ENABLED'):
15     bld.INSTALL_FILES('${BINDIR}',
16                   'bin/samba-tool',
17                   chmod=MODE_755, python_fixup=True, flat=True)
18
19 bld.RECURSE('bin')