MAN: Adding entry for net ads lookup
[nivanova/samba-autobuild/.git] / source4 / scripting / wscript_build
1 #!/usr/bin/env python
2
3 from samba_utils import MODE_755
4
5 sbin_files = ''
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 sbin_files += 'bin/samba_gpoupdate'
9 man_files = 'man/samba_gpoupdate.8'
10
11 if sbin_files:
12     bld.INSTALL_FILES('${SBINDIR}',
13                       sbin_files,
14                       chmod=MODE_755, python_fixup=True, flat=True)
15     if 'XSLTPROC_MANPAGES' in bld.env and bld.env['XSLTPROC_MANPAGES']:
16         bld.MANPAGES(man_files, True)
17
18 if bld.CONFIG_SET('AD_DC_BUILD_IS_ENABLED'):
19     bld.INSTALL_FILES('${BINDIR}',
20                   'bin/samba-tool',
21                   chmod=MODE_755, python_fixup=True, flat=True)
22
23 bld.RECURSE('bin')