aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-03-25 23:06:13 +0000
committerDavid Robillard <d@drobilla.net>2012-03-25 23:06:13 +0000
commit4ff544a97243fe5c2639f1c81998e2c8bf2fbc62 (patch)
treeb3dafe0eb90c7233976552292d30bee7f30b7517 /wscript
parent71dc94cab9df2ccf9fa68588da2b450104f45298 (diff)
downloadlv2-4ff544a97243fe5c2639f1c81998e2c8bf2fbc62.tar.xz
Add pkgconfig file for all of LV2.
Diffstat (limited to 'wscript')
-rw-r--r--wscript9
1 files changed, 9 insertions, 0 deletions
diff --git a/wscript b/wscript
index 22a4452..f370ee9 100644
--- a/wscript
+++ b/wscript
@@ -211,6 +211,15 @@ def build(bld):
for i in bld.env['LV2_SUBDIRS']:
bld.recurse(i)
+ # LV2 pkgconfig file
+ obj = bld(features = 'subst',
+ source = 'lv2.pc.in',
+ target = 'lv2.pc',
+ install_path = '${LIBDIR}/pkgconfig',
+ PREFIX = bld.env['PREFIX'],
+ INCLUDEDIR = bld.env['INCLUDEDIR'],
+ VERSION = VERSION)
+
if bld.env['DOCS']:
# Build Doxygen documentation (and tags file)
autowaf.build_dox(bld, 'LV2', VERSION, top, out)