lzxpress: add bounds checking to lzxpress_decompress()
[samba.git] / source3 / script / wscript_build
1 #!/usr/bin/env python
2
3 from samba_utils import MODE_755
4
5 bld.INSTALL_FILES('${BINDIR}',
6                   'smbtar',
7                   chmod=MODE_755, flat=True)
8
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='.')
13
14 sed_expr1 = 's#@PERL@#/usr/bin/env perl#'
15 sed_expr2 = 's#@BINDIR@#${BINDIR}#'
16
17 bld.SAMBA_GENERATOR('findsmb-script',
18                     source='findsmb.in',
19                     target='findsmb',
20                     rule='sed -e "%s" -e "%s" ${SRC} > ${TGT}' % (sed_expr1, sed_expr2))
21
22 bld.INSTALL_FILES('${BINDIR}',
23                   'findsmb',
24                   destname='findsmb',
25                   chmod=MODE_755)