aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
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()