meson: Install completion files

Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
This commit is contained in:
Arnaud Rebillout 2018-11-05 11:42:24 +07:00 committed by Arun Raghavan
parent a37046cc38
commit 8d241d62c5
4 changed files with 43 additions and 2 deletions

View file

@ -0,0 +1,17 @@
aliases = [
'pacat',
'pacmd',
'pactl',
'padsp',
'paplay',
'parec',
'parecord',
'pasuspender',
]
install_data('pulseaudio', install_dir : bashcompletiondir)
foreach alias : aliases
dst = join_paths(bashcompletiondir, alias)
meson.add_install_script('ln', '-fs', 'pulseaudio', dst)
endforeach

View file

@ -0,0 +1 @@
install_data('_pulseaudio', install_dir : zshcompletiondir)