build-sys: meson: Rearrange shell completion between daemon and client

Rename bash completion file to pactl and install it with client build.
Completions specific to daemon are now just symlinks, create target directory
first to install them.

Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/659>
This commit is contained in:
Igor V. Kovalenko 2021-11-05 00:34:26 +03:00 committed by PulseAudio Marge Bot
parent 80c0a497d3
commit 5f43173209
4 changed files with 22 additions and 16 deletions

View file

@ -837,9 +837,7 @@ if get_option('man')
subdir('man')
endif
subdir('shell-completion/bash')
if get_option('client')
subdir('shell-completion/zsh')
endif
subdir('shell-completion/zsh')
subdir('src')
if get_option('client')
subdir('vala')