summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-08 21:09:03 +0000
committerDavid Robillard <d@drobilla.net>2012-08-08 21:09:03 +0000
commit4f47cd0f7a225af480a9b0c13dd65884b9e2e601 (patch)
tree859d55442f18ff72ad79429679b733557d6986f0 /wscript
parent15cd55d04fb97fe074daec15cac86aed0d85f761 (diff)
downloadmatriseq.lv2-4f47cd0f7a225af480a9b0c13dd65884b9e2e601.tar.gz
matriseq.lv2-4f47cd0f7a225af480a9b0c13dd65884b9e2e601.tar.bz2
matriseq.lv2-4f47cd0f7a225af480a9b0c13dd65884b9e2e601.zip
Clean up wscript files.
git-svn-id: http://svn.drobilla.net/lad/trunk/plugins/matriseq@4624 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript20
1 files changed, 10 insertions, 10 deletions
diff --git a/wscript b/wscript
index 371f07f..135755c 100644
--- a/wscript
+++ b/wscript
@@ -18,7 +18,7 @@ def configure(conf):
autowaf.configure(conf)
autowaf.display_header('Matriseq Configuration')
- if conf.env['MSVC_COMPILER']:
+ if conf.env.MSVC_COMPILER:
conf.env.append_unique('CFLAGS', ['-TP', '-MD'])
else:
conf.env.append_unique('CFLAGS', '-std=c99')
@@ -26,14 +26,14 @@ def configure(conf):
autowaf.check_pkg(conf, 'lv2', atleast_version='1.0.0', uselib_store='LV2')
autowaf.check_pkg(conf, 'naub-0', atleast_version='0.0.0', uselib_store='NAUB')
- # Set env['pluginlib_PATTERN']
- pat = conf.env['cshlib_PATTERN']
+ # Set env.pluginlib_PATTERN
+ pat = conf.env.cshlib_PATTERN
if pat.startswith('lib'):
pat = pat[3:]
- conf.env['pluginlib_PATTERN'] = pat
- conf.env['pluginlib_EXT'] = pat[pat.rfind('.'):]
+ conf.env.pluginlib_PATTERN = pat
+ conf.env.pluginlib_EXT = pat[pat.rfind('.'):]
- autowaf.display_msg(conf, "LV2 bundle directory", conf.env['LV2DIR'])
+ autowaf.display_msg(conf, "LV2 bundle directory", conf.env.LV2DIR)
print('')
def build(bld):
@@ -44,7 +44,7 @@ def build(bld):
source = 'manifest.ttl.in',
target = '%s/%s' % (bundle, 'manifest.ttl'),
install_path = '${LV2DIR}/%s' % bundle,
- LIB_EXT = bld.env['pluginlib_EXT'])
+ LIB_EXT = bld.env.pluginlib_EXT)
# Copy other data files to build bundle (build/matriseq.lv2)
for i in ['matriseq.ttl']:
@@ -52,13 +52,13 @@ def build(bld):
source = i,
target = '%s/%s' % (bundle, i),
install_path = '${LV2DIR}/%s' % bundle,
- LIB_EXT = bld.env['pluginlib_EXT'])
+ LIB_EXT = bld.env.pluginlib_EXT)
# Create a build environment that builds module-style library names
# e.g. matriseq.so instead of libmatriseq.so
# Note for C++ you must set cxxshlib_PATTERN instead
- penv = bld.env.derive()
- penv['cshlib_PATTERN'] = bld.env['pluginlib_PATTERN']
+ penv = bld.env.derive()
+ penv.cshlib_PATTERN = bld.env.pluginlib_PATTERN
# Build plugin library
obj = bld(features = 'c cshlib',