diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2021-09-07 12:45:53 -0500 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2021-09-07 12:45:53 -0500 |
commit | 7c29fbd36f87426b78fe4baa6eb1a68661fc1374 (patch) | |
tree | aca7f476e6083c9facbfd21d4c8cf43293fc2a38 /meson.build | |
parent | 593be166d16e371837d85ff4e963cf8c71b569c7 (diff) |
build: install bash and zsh completions
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 6 |
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, |