diff options
author | David Robillard <d@drobilla.net> | 2011-03-27 18:16:38 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-03-27 18:16:38 +0000 |
commit | 4b7d010c2437d1a7f3e0525404ff51b6c7ff1390 (patch) | |
tree | 3fadd4ac4f154634c3d8d8a073be5381920039d6 | |
parent | e4e3df3c0a7a51ce05fe04ede1a5451bc43b76e0 (diff) | |
download | lilv-4b7d010c2437d1a7f3e0525404ff51b6c7ff1390.tar.gz lilv-4b7d010c2437d1a7f3e0525404ff51b6c7ff1390.tar.bz2 lilv-4b7d010c2437d1a7f3e0525404ff51b6c7ff1390.zip |
Update waf to use gnu_dirs tool and use dir vars more sanely.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@3124 a436a847-0d15-0410-975c-d299462d15a1
-rwxr-xr-x | waf | bin | 88126 -> 86049 bytes | |||
-rw-r--r-- | wscript | 5 |
2 files changed, 3 insertions, 2 deletions
Binary files differ @@ -130,10 +130,11 @@ def configure(conf): elif Options.platform == 'win32': Options.options.default_lv2_path = 'C:\\Program Files\\LV2' else: + libdirname = os.path.basename(conf.env['LIBDIR']) Options.options.default_lv2_path = slv2_path_sep.join([ '~/.lv2', - '/usr/%s/lv2' % conf.env['LIBDIRNAME'], - '/usr/local/%s/lv2' % conf.env['LIBDIRNAME']]) + '/usr/%s/lv2' % libdirname, + '/usr/local/%s/lv2' % libdirname]) autowaf.define(conf, 'SLV2_DEFAULT_LV2_PATH', Options.options.default_lv2_path) |