summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2015-01-25 13:38:43 +0200
committerPeter Meerwald <pmeerw@pmeerw.net>2015-05-25 16:20:43 +0200
commit84dff820ed14f8a4d95f4dd230a02f33c0d6a1ea (patch)
tree0dc7d28f7472b269c4d35c96d9e67291dee3b79d /Makefile.am
parenta26defed9ee4f4f9e8db79bd9051231d74717598 (diff)
build-sys: Install bash completion to where bash-completion.pc says
Fall back to the previous /etc/bash_completion.d dir on failures (either old bash completion or not installed). changes over Ville Skyttä's patch: define PKG_CHECK_VAR macro which became available only in pkg-config 0.28 see https://bugs.freedesktop.org/show_bug.cgi?id=88782 and https://bugs.freedesktop.org/show_bug.cgi?id=89540 Signed-off-by: Ville Skyttä <ville.skytta@iki.fi> Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 75b784f75..b39fc4162 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -59,7 +59,7 @@ endif
cmakedir = $(libdir)/cmake/PulseAudio
cmake_DATA = PulseAudioConfig.cmake PulseAudioConfigVersion.cmake
-bashcompletiondir=$(sysconfdir)/bash_completion.d
+bashcompletiondir=@bashcompletiondir@
dist_bashcompletion_DATA = shell-completion/bash/pulseaudio
install-bashcompletion-aliases: