diff options
author | David Robillard <d@drobilla.net> | 2023-09-23 16:27:35 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-09-23 16:27:35 -0400 |
commit | f1eff805e3160cf9eac26dad84f56f5a3338bcb3 (patch) | |
tree | 73ba8f4147f0f009e741b3f46ae14489d964e762 /doc/meson.build | |
parent | 58993e08dba6fc9d93184df5a79f914d0c9141cd (diff) | |
download | zix-f1eff805e3160cf9eac26dad84f56f5a3338bcb3.tar.gz zix-f1eff805e3160cf9eac26dad84f56f5a3338bcb3.tar.bz2 zix-f1eff805e3160cf9eac26dad84f56f5a3338bcb3.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).
Diffstat (limited to 'doc/meson.build')
-rw-r--r-- | doc/meson.build | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/doc/meson.build b/doc/meson.build index 11dad4f..98cb4af 100644 --- a/doc/meson.build +++ b/doc/meson.build @@ -58,17 +58,24 @@ if build_docs ) # Copy hand-written documentation files - c_rst_files = files( + rst_sources = files( 'allocation.rst', 'error_handling.rst', 'index.rst', 'string_views.rst', 'using_zix.rst', ) - foreach f : c_rst_files + files('overview_code.c') - configure_file(copy: true, input: f, output: '@PLAINNAME@') + sphinx_input = [] + foreach f : rst_sources + sphinx_input += [ + configure_file(copy: true, input: f, output: '@PLAINNAME@'), + ] endforeach + # Copy documentation code + doc_c_sources = files('overview_code.c') + configure_file(copy: true, input: doc_c_sources, output: '@PLAINNAME@') + # Generate reference documentation input with Doxygen and Sphinxygen subdir('xml') subdir('api') |