aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2021-09-07 12:45:53 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2021-09-07 12:45:53 -0500
commit7c29fbd36f87426b78fe4baa6eb1a68661fc1374 (patch)
treeaca7f476e6083c9facbfd21d4c8cf43293fc2a38 /meson.build
parent593be166d16e371837d85ff4e963cf8c71b569c7 (diff)
build: install bash and zsh completions
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build6
1 files changed, 6 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 585ebb2d..3ac018ec 100644
--- a/meson.build
+++ b/meson.build
@@ -156,6 +156,9 @@ init_d_conf_data.set('SYSCONFDIR', get_option('sysconfdir'))
dl_dep = cc.find_library('dl', required: false)
util_dep = cc.find_library('util', required: false)
+if get_option('bash-completions')
+ subdir('bash-completion')
+endif
subdir('conf.d')
subdir('etc')
subdir('init.d')
@@ -169,6 +172,9 @@ subdir('sh')
subdir('src')
subdir('support')
subdir('sysctl.d')
+if get_option('zsh-completions')
+ subdir('zsh-completion')
+endif
meson.add_install_script('tools/meson_runlevels.sh',
os,