aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/eg-sampler.lv2/wscript
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/eg-sampler.lv2/wscript
parent44ff22a4fae7a53c2f1940c0a8015d74691e5ba8 (diff)
downloadlv2-bee23190f28f07ef4398072d6de2daa1a5a98843.tar.xz
Use shiny/odd/portable new subst ability to copy files.
Diffstat (limited to 'plugins/eg-sampler.lv2/wscript')
-rw-r--r--plugins/eg-sampler.lv2/wscript3
1 files changed, 2 insertions, 1 deletions
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)