diff options
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -55,6 +55,9 @@ def configure(conf): if not conf.env.BUILD_SHARED and not conf.env.BUILD_STATIC: conf.fatal('Neither a shared nor a static build requested') + if conf.env.DOCS: + conf.load('sphinx') + if Options.options.strict: # Check for programs used by lint target conf.find_program("flake8", var="FLAKE8", mandatory=False) @@ -476,7 +479,8 @@ def build(bld): uselib = 'X11 LV2') # Documentation - autowaf.build_dox(bld, 'SUIL', SUIL_VERSION, top, out) + if bld.env.DOCS: + bld.recurse('doc/c') bld.add_post_fun(autowaf.run_ldconfig) |