mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
c8621948f6
On a Windows client, this command is called 'gpupdate' Signed-off-by: David Mulder <dmulder@suse.com> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
24 lines
748 B
Python
24 lines
748 B
Python
#!/usr/bin/env python
|
|
|
|
from samba_utils import MODE_755
|
|
|
|
sbin_files = ''
|
|
if bld.CONFIG_SET('AD_DC_BUILD_IS_ENABLED'):
|
|
sbin_files = 'bin/samba_dnsupdate bin/samba_spnupdate bin/samba_upgradedns bin/samba_kcc '
|
|
sbin_files += 'bin/samba-gpupdate'
|
|
man_files = 'man/samba-gpupdate.8'
|
|
|
|
if sbin_files:
|
|
bld.INSTALL_FILES('${SBINDIR}',
|
|
sbin_files,
|
|
chmod=MODE_755, python_fixup=True, flat=True)
|
|
if 'XSLTPROC_MANPAGES' in bld.env and bld.env['XSLTPROC_MANPAGES']:
|
|
bld.MANPAGES(man_files, True)
|
|
|
|
if bld.CONFIG_SET('AD_DC_BUILD_IS_ENABLED'):
|
|
bld.INSTALL_FILES('${BINDIR}',
|
|
'bin/samba-tool',
|
|
chmod=MODE_755, python_fixup=True, flat=True)
|
|
|
|
bld.RECURSE('bin')
|