aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-04-27 14:26:25 +0200
committerDavid Robillard <d@drobilla.net>2019-04-27 17:20:53 +0200
commit7d4d94414caffce22986d0e08c0872bda0c33127 (patch)
tree7dc15c648f56fdc0a31dbbb24babac6484d15da6 /wscript
parent077ba2fd088d28ddde12a99eab079802bc281de2 (diff)
downloadlv2-7d4d94414caffce22986d0e08c0872bda0c33127.tar.xz
Only check links during build
Diffstat (limited to 'wscript')
-rw-r--r--wscript3
1 files changed, 2 insertions, 1 deletions
diff --git a/wscript b/wscript
index c2747f4..2a5aec3 100644
--- a/wscript
+++ b/wscript
@@ -400,7 +400,8 @@ def build(bld):
if subprocess.call([ctx.env.LINKCHECKER[0], '--no-status', out]):
ctx.fatal('Documentation contains broken links')
- bld.add_post_fun(check_links)
+ if bld.cmd == 'build':
+ bld.add_post_fun(check_links)
if bld.env.BUILD_TESTS:
# Generate a compile test .c file that includes all headers