samba/packaging/wscript_build

17 lines
452 B
Plaintext
Raw Normal View History

2022-05-14 02:50:39 +08:00
#!/usr/bin/env python
systemd_services = [
'systemd/smb.service',
'systemd/nmb.service',
'systemd/winbind.service',
'systemd/samba.service'
]
for srv in systemd_services:
bld.CONFIGURE_FILE(srv)
if bld.env.systemd_install_services:
bld.INSTALL_FILES(bld.env.SYSTEMDDIR, srv, flat=True)
if bld.env.systemd_install_services:
bld.INSTALL_FILES('${SYSCONFDIR}/sysconfig', 'systemd/samba.sysconfig', destname='samba')