summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-08-20 19:42:39 +0000
committerDavid Robillard <d@drobilla.net>2011-08-20 19:42:39 +0000
commit80fcdb8a3134e3cc2c1e7c8032e5ce4436375b12 (patch)
tree50aec693c6a3829c6bab221aa96e300781484274
parent82c562ba4a8b1a931aa5017e8c8950e2562a8694 (diff)
downloadlilv-80fcdb8a3134e3cc2c1e7c8032e5ce4436375b12.tar.gz
lilv-80fcdb8a3134e3cc2c1e7c8032e5ce4436375b12.tar.bz2
lilv-80fcdb8a3134e3cc2c1e7c8032e5ce4436375b12.zip
Obey prefix when installing bash completion script (fix #747)
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3437 a436a847-0d15-0410-975c-d299462d15a1
-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