diff options
author | David Robillard <d@drobilla.net> | 2010-12-16 23:58:43 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2010-12-16 23:58:43 +0000 |
commit | 7d0e3cf4afdd070c00b33ac68c82a56f0373a922 (patch) | |
tree | 905538977f2b1e294aa247b607271077e55d3b85 | |
parent | 5c371cefc3f74cd9c33083b689920b8b87ada621 (diff) | |
download | lv2-7d0e3cf4afdd070c00b33ac68c82a56f0373a922.tar.xz |
Warn about lv2config.
-rw-r--r-- | wscript | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -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) * +*************************************************************************** +''') |