aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimo Wischer <twischer@de.adit-jv.com>2018-03-28 16:30:25 +0200
committerDavid Robillard <d@drobilla.net>2018-04-21 14:21:18 +0200
commitfc332341acd2f5da4ba88e86d1bdbb47752c1688 (patch)
tree52808d6ce92cdcbe9876020c321043b19cda43fc
parent239d19c14be76b781377aa53d1f6c411c1e0c3bb (diff)
downloadlv2-fc332341acd2f5da4ba88e86d1bdbb47752c1688.tar.xz
Install lv2_util.h for use by third-party code
-rw-r--r--lv2/lv2plug.in/ns/lv2core/wscript1
-rw-r--r--wscript10
2 files changed, 7 insertions, 4 deletions
diff --git a/lv2/lv2plug.in/ns/lv2core/wscript b/lv2/lv2plug.in/ns/lv2core/wscript
index 612f40c..c70aa1d 100644
--- a/lv2/lv2plug.in/ns/lv2core/wscript
+++ b/lv2/lv2plug.in/ns/lv2core/wscript
@@ -50,6 +50,7 @@ def build(bld):
# Header
bld.install_files('${INCLUDEDIR}', 'lv2.h')
bld.install_files('${LV2DIR}/lv2core.lv2', 'lv2.h')
+ bld.install_files('${LV2DIR}/lv2core.lv2', 'lv2_util.h')
# Pkgconfig file
autowaf.build_pc(bld, 'LV2CORE', LV2CORE_VERSION, '', [])
diff --git a/wscript b/wscript
index 1e3c8af..0eb2e04 100644
--- a/wscript
+++ b/wscript
@@ -257,10 +257,12 @@ def build(bld):
bld.path.ant_glob('lv2/lv2plug.in/ns/extensions/*', dir=True))
# Copy lv2.h to URI-style include path in build directory
- lv2_h_path = 'lv2/lv2plug.in/ns/lv2core/lv2.h'
- bld(rule = link,
- source = bld.path.find_node(lv2_h_path),
- target = bld.path.get_bld().make_node(lv2_h_path))
+ lv2_h_paths = ['lv2/lv2plug.in/ns/lv2core/lv2.h',
+ 'lv2/lv2plug.in/ns/lv2core/lv2_util.h']
+ for path in lv2_h_paths:
+ bld(rule = link,
+ source = bld.path.find_node(path),
+ target = bld.path.get_bld().make_node(path))
# LV2 pkgconfig file
bld(features = 'subst',