diff options
author | David Robillard <d@drobilla.net> | 2023-09-23 16:29:44 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-09-23 16:29:44 -0400 |
commit | 9893383ec1f53e7c2443c1bc82861019f9125e8b (patch) | |
tree | a282baa45ad50ba97728f2ab52a0c19e711769bc /doc/meson.build | |
parent | c03a9f6285e68286a6c666b6dc45f81be486928e (diff) | |
download | suil-9893383ec1f53e7c2443c1bc82861019f9125e8b.tar.gz suil-9893383ec1f53e7c2443c1bc82861019f9125e8b.tar.bz2 suil-9893383ec1f53e7c2443c1bc82861019f9125e8b.zip |
Explicitly specify all documentation dependencies
Yet another attempt to sort out flaky documentation builds. This tries to be
careful and describe the complete documentation dependency graph to meson
explicitly (ignoring tool outputs that aren't used). Also remove the shared
doctrees directory option, since I suspect this causes issues in parallel
builds.
Diffstat (limited to 'doc/meson.build')
-rw-r--r-- | doc/meson.build | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/doc/meson.build b/doc/meson.build index b6f6402..4db8c74 100644 --- a/doc/meson.build +++ b/doc/meson.build @@ -44,9 +44,12 @@ if build_docs ) # Copy hand-written documentation files - c_rst_files = files('index.rst', 'overview.rst') - foreach f : c_rst_files - configure_file(copy: true, input: f, output: '@PLAINNAME@') + rst_sources = files('index.rst', 'overview.rst') + sphinx_input = [] + foreach f : rst_sources + sphinx_input += [ + configure_file(copy: true, input: f, output: '@PLAINNAME@'), + ] endforeach # Generate reference documentation input with Doxygen and Sphinxygen @@ -55,7 +58,7 @@ if build_docs # Build strict Sphinx flags, with termination on warnings if werror=true sphinx_in_dir = meson.current_build_dir() - sphinx_flags = ['-d', sphinx_in_dir / '.doctrees', '-E', '-a', '-q'] + sphinx_flags = ['-E', '-a', '-q'] if get_option('werror') sphinx_flags += ['-W'] endif |