From 41e4b75fb667be846d636ee11cff5e0215dd221c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 26 Dec 2017 14:41:02 -0500 Subject: Upgrade to waf 2.0.3 --- wscript | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index c66d6d1..fad7aa8 100644 --- a/wscript +++ b/wscript @@ -18,10 +18,10 @@ def options(opt): autowaf.set_options(opt) def configure(conf): - conf.load('compiler_cxx') - conf.load('lv2') - autowaf.configure(conf) autowaf.display_header('Fomp.LV2 Configuration') + conf.load('compiler_cxx', cache=True) + conf.load('lv2', cache=True) + conf.load('autowaf', cache=True) autowaf.check_pkg(conf, 'lv2', atleast_version='1.0.0', uselib_store='LV2') @@ -32,6 +32,7 @@ def configure(conf): conf.env.pluginlib_PATTERN = pat conf.env.pluginlib_EXT = pat[pat.rfind('.'):] + autowaf.display_summary(conf) autowaf.display_msg(conf, 'LV2 bundle directory', conf.env.LV2DIR) print('') @@ -61,12 +62,12 @@ def build(bld): bld(features = 'subst', is_copy = True, source = i, - target = bld.path.get_bld().make_node('fomp.lv2/%s' % i), + target = 'fomp.lv2/%s' % i.name, install_path = '${LV2DIR}/fomp.lv2') bld(features = 'subst', source = 'fomp.lv2/manifest.ttl.in', - target = bld.path.get_bld().make_node('fomp.lv2/manifest.ttl'), + target = 'fomp.lv2/manifest.ttl', LIB_EXT = bld.env.pluginlib_EXT, install_path = '${LV2DIR}/fomp.lv2') -- cgit v1.2.1