aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-12-16 23:58:43 +0000
committerDavid Robillard <d@drobilla.net>2010-12-16 23:58:43 +0000
commit7d0e3cf4afdd070c00b33ac68c82a56f0373a922 (patch)
tree905538977f2b1e294aa247b607271077e55d3b85
parent5c371cefc3f74cd9c33083b689920b8b87ada621 (diff)
downloadlv2-7d0e3cf4afdd070c00b33ac68c82a56f0373a922.tar.xz
Warn about lv2config.
-rw-r--r--wscript16
1 files changed, 15 insertions, 1 deletions
diff --git a/wscript b/wscript
index ce9b657..f213d1a 100644
--- a/wscript
+++ b/wscript
@@ -1,7 +1,9 @@
#!/usr/bin/env python
+import autowaf
import datetime
import os
-import autowaf
+
+import Logs
# Version of this package (even if built as a child)
LV2EXT_VERSION = datetime.date.isoformat(datetime.datetime.now()).replace('-', '.')
@@ -99,3 +101,15 @@ def build(bld):
for e in extensions.split():
build_extension(bld, e, 'extensions')
+ bld.add_post_fun(warn_lv2config)
+
+def warn_lv2config(ctx):
+ if ctx.cmd == 'install':
+ Logs.pprint('BOLD', '''
+***************************************************************************
+* LV2 Extension(s) Installed *
+* You need to run lv2config to compile against extension headers *
+* e.g. $ sudo ldconfig *
+* (If you are packaging, extension packages MUST do this on installation) *
+***************************************************************************
+''')