summaryrefslogtreecommitdiffstats
path: root/wscript
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 /wscript
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
Diffstat (limited to 'wscript')
-rw-r--r--wscript4
1 files changed, 2 insertions, 2 deletions
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