diff options
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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() |