summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-02-12 06:05:34 +0000
committerDavid Robillard <d@drobilla.net>2011-02-12 06:05:34 +0000
commit79f72150ed0b552962fbe4377208f2dea4db2cf1 (patch)
treeae314ca1fef70f36701807f16987fae912c895df /wscript
parentd9f35fad0229e5af3c619cdb609f1bd3118d0d18 (diff)
downloadlilv-79f72150ed0b552962fbe4377208f2dea4db2cf1.tar.gz
lilv-79f72150ed0b552962fbe4377208f2dea4db2cf1.tar.bz2
lilv-79f72150ed0b552962fbe4377208f2dea4db2cf1.zip
Install Bash completion script by default.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2939 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript5
1 files changed, 3 insertions, 2 deletions
diff --git a/wscript b/wscript
index 65d7da4..a525526 100644
--- a/wscript
+++ b/wscript
@@ -49,7 +49,8 @@ def options(opt):
help="Build support for dynamic manifest extension [false]")
opt.add_option('--test', action='store_true', default=False, dest='build_tests',
help="Build unit tests")
- opt.add_option('--bash-completion', action='store_true', default=False, dest='bash_completion',
+ 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")
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)")
@@ -112,7 +113,7 @@ def configure(conf):
conf.env['USE_JACK'] = conf.env['HAVE_JACK'] and not Options.options.no_jack
conf.env['BUILD_TESTS'] = Options.options.build_tests
conf.env['BUILD_UTILS'] = not Options.options.no_utils
- conf.env['BASH_COMPLETION'] = Options.options.bash_completion
+ conf.env['BASH_COMPLETION'] = not Options.options.no_bash_completion
autowaf.define(conf, 'SLV2_DEFAULT_LV2_PATH', Options.options.default_lv2_path)
if conf.env['USE_JACK']: