build-sys: Install the bash completion script.
authorTanu Kaskinen <tanuk@iki.fi>
Thu, 31 Jan 2013 04:25:02 +0000 (06:25 +0200)
committerTanu Kaskinen <tanuk@iki.fi>
Thu, 31 Jan 2013 04:25:02 +0000 (06:25 +0200)
Makefile.am

index 893bc24..138a186 100644 (file)
@@ -34,7 +34,6 @@ EXTRA_DIST = \
        vala/libpulse-mainloop-glib.deps \
        vala/libpulse-mainloop-glib.vapi \
        shell-completion/pulseaudio-zsh-completion.zsh \
-       shell-completion/pulseaudio-bash-completion.sh \
        .gitignore \
        doxygen/.gitignore \
        m4/.gitignore \
@@ -65,6 +64,9 @@ endif
 cmakedir = $(libdir)/cmake/PulseAudio
 cmake_DATA = PulseAudioConfig.cmake PulseAudioConfigVersion.cmake
 
+bashcompletiondir=$(sysconfdir)/bash_completion.d
+dist_bashcompletion_DATA = shell-completion/pulseaudio-bash-completion.sh
+
 homepage: all dist doxygen
        test -d $$HOME/homepage/private
        mkdir -p $$HOME/homepage/private/projects/pulseaudio $$HOME/homepage/private/projects/pulseaudio/doxygen