summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorAurelien Aptel <aaptel@suse.com>2017-12-14 16:47:49 +0100
committerAndrew Bartlett <abartlet@samba.org>2018-01-08 03:34:18 +0100
commit080d590de1ff9f8ebc55aeffaea8d41991466549 (patch)
treef5474d2ec333c8e99e3659b9b466e893fc4b74b8 /wscript
parent3089a5660dd75e1396cd29dfb202a1d4ff1b7cfe (diff)
downloadsamba-080d590de1ff9f8ebc55aeffaea8d41991466549.tar.gz
packaging: add configure option to preprocess and install systemd files
Turn the systemd service files under packaging into template (.in) files with @VAR@ substitutions and add configure options to install and tweak them. Signed-off-by: Aurelien Aptel <aaptel@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/wscript b/wscript
index 83eec709f9d..0985aa94867 100644
--- a/wscript
+++ b/wscript
@@ -37,6 +37,7 @@ def set_options(opt):
opt.PRIVATE_EXTENSION_DEFAULT('samba4')
opt.RECURSE('lib/replace')
opt.RECURSE('dynconfig')
+ opt.RECURSE('packaging')
opt.RECURSE('lib/ldb')
opt.RECURSE('selftest')
opt.RECURSE('source4/lib/tls')
@@ -46,6 +47,8 @@ def set_options(opt):
opt.RECURSE('lib/util')
opt.RECURSE('lib/crypto')
opt.RECURSE('ctdb')
+
+
opt.samba_add_onoff_option('pthreadpool', with_name="enable", without_name="disable", default=True)
opt.add_option('--with-system-mitkrb5',
@@ -240,6 +243,7 @@ def configure(conf):
conf.RECURSE('ctdb')
conf.RECURSE('lib/socket')
conf.RECURSE('auth')
+ conf.RECURSE('packaging')
conf.SAMBA_CHECK_UNDEFINED_SYMBOL_FLAGS()