From 083fdc4feb669e8a8e8b66025118d6a0c80d00ab Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 16 Dec 2010 03:51:10 +0000 Subject: More updates for waf 1.6. --- wscript | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/wscript b/wscript index 0e2a1e6..bf7ed3e 100644 --- a/wscript +++ b/wscript @@ -57,16 +57,16 @@ def build_plugin(bld, lang, name): # Data data_file = 'plugins/%s.lv2/%s.ttl' % (name, name) manifest_file = 'plugins/%s.lv2/manifest.ttl' % (name) - bld.install_files('${LV2DIR}/' + name + '.lv2', data_file) - bld.install_files('${LV2DIR}/' + name + '.lv2', manifest_file) + bld.install_files('${LV2DIR}/' + name + '.lv2', bld.path.ant_glob(data_file)) + bld.install_files('${LV2DIR}/' + name + '.lv2', bld.path.ant_glob(manifest_file)) def build_extension(bld, name, dir): data_file = '%s/%s.lv2/%s.ttl' % (dir, name, name) manifest_file = '%s/%s.lv2/manifest.ttl' % (dir, name) header_files = '%s/%s.lv2/*.h' % (dir, name) - bld.install_files('${LV2DIR}/' + name + '.lv2', data_file) - bld.install_files('${LV2DIR}/' + name + '.lv2', manifest_file) - bld.install_files('${LV2DIR}/' + name + '.lv2', header_files) + bld.install_files('${LV2DIR}/' + name + '.lv2', bld.path.ant_glob(data_file)) + bld.install_files('${LV2DIR}/' + name + '.lv2', bld.path.ant_glob(manifest_file)) + bld.install_files('${LV2DIR}/' + name + '.lv2', bld.path.ant_glob(header_files)) def build(bld): autowaf.set_recursive() -- cgit v1.2.1