summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--wscript4
2 files changed, 3 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 5834d19..6f00658 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
lilv (UNRELEASED) unstable; urgency=low
* Add lv2core as a pkg-config dependency (for lv2.h header include)
+ * Obey prefix when installing bash completion script
-- David Robillard <d@drobilla.net> (UNRELEASED)
diff --git a/wscript b/wscript
index 8f70d65..d49667b 100644
--- a/wscript
+++ b/wscript
@@ -41,7 +41,7 @@ def options(opt):
help="Build unit tests")
opt.add_option('--no-bash-completion', action='store_true', default=False,
dest='no_bash_completion',
- help="Install bash completion script in /etc/bash_completion.d")
+ help="Don't install bash completion script in CONFIGDIR")
opt.add_option('--default-lv2-path', type='string', default='',
dest='default_lv2_path',
help="Default LV2 path to use if $LV2_PATH is unset (globs and ~ supported)")
@@ -225,7 +225,7 @@ def build(bld):
# Bash completion
if bld.env['BASH_COMPLETION']:
bld.install_as(
- '/etc/bash_completion.d/lilv', 'utils/lilv.bash_completion')
+ '${SYSCONFDIR}/bash_completion.d/lilv', 'utils/lilv.bash_completion')
if bld.is_defined('LILV_PYTHON'):
# Python Wrapper