3 from samba_utils
import MODE_755
5 bld
.INSTALL_FILES('${BINDIR}',
7 chmod
=MODE_755
, flat
=True)
9 # Callout scripts for use in selftest environment
10 bld
.SAMBA_SCRIPT('smbaddshare', pattern
='smbaddshare', installdir
='.')
11 bld
.SAMBA_SCRIPT('smbchangeshare', pattern
='smbchangeshare', installdir
='.')
12 bld
.SAMBA_SCRIPT('smbdeleteshare', pattern
='smbdeleteshare', installdir
='.')
14 sed_expr1
= 's#@PERL@#/usr/bin/env perl#'
15 sed_expr2
= 's#@BINDIR@#${BINDIR}#'
17 bld
.SAMBA_GENERATOR('findsmb-script',
20 rule
='sed -e "%s" -e "%s" ${SRC} > ${TGT}' % (sed_expr1
, sed_expr2
))
22 bld
.INSTALL_FILES('${BINDIR}',