diff options
author | David Robillard <d@drobilla.net> | 2011-02-12 06:05:34 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-02-12 06:05:34 +0000 |
commit | 79f72150ed0b552962fbe4377208f2dea4db2cf1 (patch) | |
tree | ae314ca1fef70f36701807f16987fae912c895df | |
parent | d9f35fad0229e5af3c619cdb609f1bd3118d0d18 (diff) | |
download | lilv-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
-rw-r--r-- | wscript | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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']: |