From 4e1c349bd3687b866597afda56dc5f1b0c4be4ef Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 16 Jan 2017 23:46:41 -0500 Subject: Don't build ontology documentation unless requested --- wscript | 7 ++++--- 1 file 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') -- cgit v1.2.1