s3:utils: Fix setting the debug level
[Samba.git] / source4 / scripting / wscript_build
blob6728dec998e365e6286f855cb512e971109302f2
1 #!/usr/bin/env python
3 from samba_utils import MODE_755
5 sbin_files = ''
6 if bld.CONFIG_SET('AD_DC_BUILD_IS_ENABLED'):
7 sbin_files = 'bin/samba_downgrade_db bin/samba_dnsupdate bin/samba_spnupdate bin/samba_upgradedns bin/samba_kcc '
8 if not bld.env.disable_python:
9 sbin_files += 'bin/samba-gpupdate'
10 man_files = 'man/samba-gpupdate.8'
12 if sbin_files:
13 bld.INSTALL_FILES('${SBINDIR}',
14 sbin_files,
15 chmod=MODE_755, python_fixup=True, flat=True)
16 if 'XSLTPROC_MANPAGES' in bld.env and bld.env['XSLTPROC_MANPAGES']:
17 bld.MANPAGES(man_files, True)
19 if bld.CONFIG_SET('WITH_ADS'):
20 bld.INSTALL_FILES('${BINDIR}',
21 'bin/samba-tool',
22 chmod=MODE_755, python_fixup=True, flat=True)
24 bld.RECURSE('bin')