mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-01 22:58:47 -04:00
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>
This commit is contained in:
parent
a26defed9e
commit
84dff820ed
2 changed files with 16 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue