diff options
author | David Robillard <d@drobilla.net> | 2019-04-27 14:26:25 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-04-27 17:20:53 +0200 |
commit | 7d4d94414caffce22986d0e08c0872bda0c33127 (patch) | |
tree | 7dc15c648f56fdc0a31dbbb24babac6484d15da6 | |
parent | 077ba2fd088d28ddde12a99eab079802bc281de2 (diff) | |
download | lv2-7d4d94414caffce22986d0e08c0872bda0c33127.tar.xz |
Only check links during build
-rw-r--r-- | wscript | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |