aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-12-16 03:51:10 +0000
committerDavid Robillard <d@drobilla.net>2010-12-16 03:51:10 +0000
commit083fdc4feb669e8a8e8b66025118d6a0c80d00ab (patch)
treea9c8d6ec9c66bddd2f70191f088e88a034f6ce1c /wscript
parent63e4e02134a27bbcab3ab65f1beb2d816aa92c3f (diff)
downloadlv2-083fdc4feb669e8a8e8b66025118d6a0c80d00ab.tar.xz
More updates for waf 1.6.
Diffstat (limited to 'wscript')
-rw-r--r--wscript10
1 files 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()