diff options
author | Timo Wischer <twischer@de.adit-jv.com> | 2018-03-28 16:30:25 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-04-21 14:21:18 +0200 |
commit | fc332341acd2f5da4ba88e86d1bdbb47752c1688 (patch) | |
tree | 52808d6ce92cdcbe9876020c321043b19cda43fc | |
parent | 239d19c14be76b781377aa53d1f6c411c1e0c3bb (diff) | |
download | lv2-fc332341acd2f5da4ba88e86d1bdbb47752c1688.tar.xz |
Install lv2_util.h for use by third-party code
-rw-r--r-- | lv2/lv2plug.in/ns/lv2core/wscript | 1 | ||||
-rw-r--r-- | wscript | 10 |
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, '', []) @@ -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', |