aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-05 20:40:27 +0000
committerDavid Robillard <d@drobilla.net>2012-08-05 20:40:27 +0000
commitbee23190f28f07ef4398072d6de2daa1a5a98843 (patch)
tree743008a8ac447671d58d37ed1e1cd3461822ac2e /plugins
parent44ff22a4fae7a53c2f1940c0a8015d74691e5ba8 (diff)
downloadlv2-bee23190f28f07ef4398072d6de2daa1a5a98843.tar.xz
Use shiny/odd/portable new subst ability to copy files.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/eg-amp.lv2/wscript4
-rw-r--r--plugins/eg-sampler.lv2/wscript3
-rw-r--r--plugins/eg-synth.lv2/wscript4
3 files changed, 6 insertions, 5 deletions
diff --git a/plugins/eg-amp.lv2/wscript b/plugins/eg-amp.lv2/wscript
index 615077b..52c2afc 100644
--- a/plugins/eg-amp.lv2/wscript
+++ b/plugins/eg-amp.lv2/wscript
@@ -47,10 +47,10 @@ def build(bld):
# Copy other data files to build bundle (build/eg-amp.lv2)
for i in ['amp.ttl']:
bld(features = 'subst',
+ is_copy = True,
source = i,
target = '%s/%s' % (bundle, i),
- install_path = '${LV2DIR}/%s' % bundle,
- LIB_EXT = module_ext)
+ install_path = '${LV2DIR}/%s' % bundle)
# Use LV2 headers from parent directory if building as a sub-project
includes = None
diff --git a/plugins/eg-sampler.lv2/wscript b/plugins/eg-sampler.lv2/wscript
index 72717b8..fceeaa8 100644
--- a/plugins/eg-sampler.lv2/wscript
+++ b/plugins/eg-sampler.lv2/wscript
@@ -51,7 +51,8 @@ def build(bld):
# Copy other data files to build bundle (build/eg-sampler.lv2)
for i in ['sampler.ttl', 'click.wav']:
- bld(rule = 'cp ${SRC} ${TGT}',
+ bld(features = 'subst',
+ is_copy = True,
source = i,
target = '%s/%s' % (bundle, i),
install_path = '${LV2DIR}/%s' % bundle)
diff --git a/plugins/eg-synth.lv2/wscript b/plugins/eg-synth.lv2/wscript
index 45e0c13..7c3cbba 100644
--- a/plugins/eg-synth.lv2/wscript
+++ b/plugins/eg-synth.lv2/wscript
@@ -47,10 +47,10 @@ def build(bld):
# Copy other data files to build bundle (build/eg-amp.lv2)
for i in ['synth.ttl']:
bld(features = 'subst',
+ is_copy = True,
source = i,
target = '%s/%s' % (bundle, i),
- install_path = '${LV2DIR}/%s' % bundle,
- LIB_EXT = bld.env['pluginlib_EXT'])
+ install_path = '${LV2DIR}/%s' % bundle)
# Use LV2 headers from parent directory if building as a sub-project
includes = None