summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-04-26 23:43:59 +0000
committerDavid Robillard <d@drobilla.net>2012-04-26 23:43:59 +0000
commit4e3a82b0de3646e74e40695d2537bb5071682318 (patch)
treea7d5acca4a40870620413ee96ecade115ac07604 /wscript
parentb9de87b822a4fd61ffd4f0c899f7b8f81955c3f1 (diff)
downloadingen-4e3a82b0de3646e74e40695d2537bb5071682318.tar.gz
ingen-4e3a82b0de3646e74e40695d2537bb5071682318.tar.bz2
ingen-4e3a82b0de3646e74e40695d2537bb5071682318.zip
Save properties with pretty numbers so normal LV2 tools can read patches.
Fix running as a plugin. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4279 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-rw-r--r--wscript9
1 files changed, 7 insertions, 2 deletions
diff --git a/wscript b/wscript
index 114e8104..f78164f1 100644
--- a/wscript
+++ b/wscript
@@ -169,8 +169,13 @@ def build(bld):
os.path.join(bld.env['DATADIR'], 'icons', 'hicolor', s, 'apps', 'ingen.png'),
'icons/' + s + '/ingen.png')
- # Template patches/plugins bundle
bld.install_files('${LV2DIR}/ingen.lv2/',
- bld.path.ant_glob('ingen.lv2/*'))
+ bld.path.ant_glob('bundles/ingen.lv2/*'))
+
+ for i in ['StereoInOut.ingen']:
+ bld.install_files('${LV2DIR}/%s/' % str(i),
+ bld.path.ant_glob('bundles/%s/*' % str(i)))
+ bld.symlink_as('${LV2DIR}/%s/libingen_lv2.so' % str(i),
+ bld.env['LV2DIR'] + '/ingen.lv2/libingen_lv2.so')
bld.add_post_fun(autowaf.run_ldconfig)