aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-10-14 19:30:10 -0400
committerDavid Robillard <d@drobilla.net>2016-10-14 19:30:10 -0400
commitc9963b52c20093b7f28cc81300342287b837f068 (patch)
treeec8cfb3a0256665637a00a22bcc9e78af4d24f8f
parentd9a1cba22d4d45dde810a5af0f9aa8b0d5082d2f (diff)
downloadlv2-c9963b52c20093b7f28cc81300342287b837f068.tar.xz
Build book last to increase parallelism
-rw-r--r--wscript7
1 files changed, 4 insertions, 3 deletions
diff --git a/wscript b/wscript
index 01f7987..001eb19 100644
--- a/wscript
+++ b/wscript
@@ -279,9 +279,6 @@ def build(bld):
for i in bld.env.LV2_BUILD:
bld.recurse(i)
- if bld.env.BUILD_BOOK:
- bld.recurse('plugins')
-
# Install lv2specgen
bld.install_files('${DATADIR}/lv2specgen/',
['lv2specgen/style.css',
@@ -395,6 +392,10 @@ def build(bld):
target = 'build-test',
install_path = None)
+ if bld.env.BUILD_BOOK:
+ # Build "Programming LV2 Plugins" book from plugin examples
+ bld.recurse('plugins')
+
def lint(ctx):
for i in ctx.path.ant_glob('lv2/**/*.h'):
subprocess.call('cpplint.py --filter=+whitespace/comments,-whitespace/tab,-whitespace/braces,-whitespace/labels,-build/header_guard,-readability/casting,-build/include,-runtime/sizeof ' + i.abspath(), shell=True)