summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorTanu Kaskinen <tanu.kaskinen@linux.intel.com>2014-08-12 12:41:55 +0300
committerTanu Kaskinen <tanu.kaskinen@linux.intel.com>2014-08-17 08:24:47 +0300
commitbe8171be791da35d33de3d7d18c29137a85fe7e3 (patch)
tree10e7e6d11664dba9f8a0fec45da959fc9f446f15 /Makefile.am
parentf480fb38a7ca0da07801e90f907fb98228261bf6 (diff)
shell-completion: Install the Zsh completions
This makes the Zsh completions work out-of-the-box. I also moved pulseaudio-zsh-completion.zsh to zsh/_pulseaudio to be in line with the common naming convention of Zsh completion files.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index f4bd79ff5..ddbf64a8f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -29,7 +29,6 @@ EXTRA_DIST = \
PROTOCOL \
README \
todo \
- shell-completion/pulseaudio-zsh-completion.zsh \
.gitignore \
doxygen/.gitignore \
m4/.gitignore \
@@ -64,6 +63,9 @@ cmake_DATA = PulseAudioConfig.cmake PulseAudioConfigVersion.cmake
bashcompletiondir=$(sysconfdir)/bash_completion.d
dist_bashcompletion_DATA = shell-completion/pulseaudio-bash-completion.sh
+zshcompletiondir=@zshcompletiondir@
+dist_zshcompletion_DATA = shell-completion/zsh/_pulseaudio
+
homepage: all dist doxygen
test -d $$HOME/homepage/private
mkdir -p $$HOME/homepage/private/projects/pulseaudio $$HOME/homepage/private/projects/pulseaudio/doxygen