diff options
author | David Robillard <d@drobilla.net> | 2021-01-07 15:25:36 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-01-07 17:29:33 +0100 |
commit | eb0f335d49ac3b501626d9e1ec140978fe795df6 (patch) | |
tree | d5f6c8c9874555abdb42f1b901cc47d8f6597fec /wscript | |
parent | efa8abca4b80b2388e828fce069821a20dc68a68 (diff) | |
download | lilv-eb0f335d49ac3b501626d9e1ec140978fe795df6.tar.gz lilv-eb0f335d49ac3b501626d9e1ec140978fe795df6.tar.bz2 lilv-eb0f335d49ac3b501626d9e1ec140978fe795df6.zip |
Generate documentation with Sphinx and add an overview
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -106,6 +106,9 @@ def configure(conf): conf.load('autowaf', cache=True) autowaf.set_c_lang(conf, 'c99') + if conf.env.DOCS: + conf.load('sphinx') + conf.env.BASH_COMPLETION = not Options.options.no_bash_completion conf.env.BUILD_UTILS = not Options.options.no_utils conf.env.BUILD_SHARED = not Options.options.no_shared @@ -546,7 +549,8 @@ def build(bld): obj.lib = ['rt'] # Documentation - autowaf.build_dox(bld, 'LILV', LILV_VERSION, top, out) + if bld.env.DOCS: + bld.recurse('doc/c') # Man pages bld.install_files('${MANDIR}/man1', bld.path.ant_glob('doc/*.1')) |