aboutsummaryrefslogtreecommitdiffstats
path: root/doc/c
diff options
context:
space:
mode:
Diffstat (limited to 'doc/c')
-rw-r--r--doc/c/meson.build19
1 files changed, 15 insertions, 4 deletions
diff --git a/doc/c/meson.build b/doc/c/meson.build
index fc63421..761557d 100644
--- a/doc/c/meson.build
+++ b/doc/c/meson.build
@@ -10,8 +10,19 @@ conf_py = configure_file(
output: 'conf.py',
)
-configure_file(copy: true, input: '../deployment.rst', output: 'deployment.rst')
-configure_file(copy: true, input: '../summary.rst', output: 'summary.rst')
+deployment_rst = configure_file(
+ copy: true,
+ input: '../deployment.rst',
+ output: 'deployment.rst',
+)
+
+summary_rst = configure_file(
+ copy: true,
+ input: '../summary.rst',
+ output: 'summary.rst',
+)
+
+copied_rst_files = [deployment_rst, summary_rst]
c_rst_files = files(
'index.rst',
@@ -36,7 +47,7 @@ docs = custom_target(
build_by_default: true,
command: [sphinx_build, '-M', 'singlehtml', '@OUTDIR@', '@OUTDIR@',
'-E', '-q', '-t', 'singlehtml'],
- input: [c_rst_files, c_pugl_rst, c_index_xml],
+ input: [c_rst_files, copied_rst_files, c_pugl_rst, c_index_xml],
install: true,
install_dir: docdir / 'pugl-0',
output: 'singlehtml',
@@ -47,7 +58,7 @@ docs = custom_target(
build_by_default: true,
command: [sphinx_build, '-M', 'html', '@OUTDIR@', '@OUTDIR@',
'-E', '-q', '-t', 'html'],
- input: [c_rst_files, c_pugl_rst, c_index_xml],
+ input: [c_rst_files, copied_rst_files, c_pugl_rst, c_index_xml],
install: true,
install_dir: docdir / 'pugl-0',
output: 'html',