summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-01-16 23:46:41 -0500
committerDavid Robillard <d@drobilla.net>2017-01-17 12:34:44 -0500
commit4e1c349bd3687b866597afda56dc5f1b0c4be4ef (patch)
tree46b27dae1245880d232865727cf30f5dfe1f1162
parent0d50475ad77cf4f401005b2e4eafb982e0de7904 (diff)
downloadingen-4e1c349bd3687b866597afda56dc5f1b0c4be4ef.tar.gz
ingen-4e1c349bd3687b866597afda56dc5f1b0c4be4ef.tar.bz2
ingen-4e1c349bd3687b866597afda56dc5f1b0c4be4ef.zip
Don't build ontology documentation unless requested
-rw-r--r--wscript7
1 files changed, 4 insertions, 3 deletions
diff --git a/wscript b/wscript
index 76a5ba69..bdd4ef1f 100644
--- a/wscript
+++ b/wscript
@@ -251,9 +251,10 @@ def build(bld):
autowaf.build_dox(bld, 'INGEN', INGEN_VERSION, top, out)
# Ontology documentation
- bld(rule='lv2specgen.py ${SRC} ${TGT} -i -p ingen --copy-style --list-email ingen@drobilla.net --list-page http://lists.drobilla.net/listinfo.cgi/ingen-drobilla.net',
- source = 'bundles/ingen.lv2/ingen.ttl',
- target = 'ingen.lv2/ingen.html')
+ if bld.env.DOCS:
+ bld(rule='lv2specgen.py ${SRC} ${TGT} -i -p ingen --copy-style --list-email ingen@drobilla.net --list-page http://lists.drobilla.net/listinfo.cgi/ingen-drobilla.net',
+ source = 'bundles/ingen.lv2/ingen.ttl',
+ target = 'ingen.lv2/ingen.html')
# Man page
bld.install_files('${MANDIR}/man1', 'doc/ingen.1')