aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-03-24 14:44:10 +0100
committerDavid Robillard <d@drobilla.net>2019-03-24 18:01:46 +0100
commitc3765cc2644ddd61c497dd54d5262832025e670a (patch)
treef71a051b259ba02c1d4ed78b7bdcc0ff4058b87c
parent5a71d5487933f74b8da90c7ac54058184825f958 (diff)
downloadlv2-c3765cc2644ddd61c497dd54d5262832025e670a.tar.xz
Fix configuring with --online-docs but without --docs
-rw-r--r--wscript6
1 files changed, 3 insertions, 3 deletions
diff --git a/wscript b/wscript
index 95ba0c5..51a3f1f 100644
--- a/wscript
+++ b/wscript
@@ -56,13 +56,13 @@ def configure(conf):
Options.options.build_tests = False
Options.options.no_plugins = True
+ if Options.options.online_docs:
+ Options.options.docs = True
+
conf.load('lv2', cache=True)
conf.load('autowaf', cache=True)
autowaf.set_c_lang(conf, 'c99')
- if Options.options.online_docs:
- Options.options.docs = True
-
if Options.options.ultra_strict:
conf.env.append_value('CFLAGS', ['-Wconversion'])