aboutsummaryrefslogtreecommitdiffstats
path: root/doc/c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-05-23 12:04:24 -0400
committerDavid Robillard <d@drobilla.net>2023-05-23 12:55:48 -0400
commite493446eee14980e8747486300dabd02595b987a (patch)
treeed52997d4616542abe492a949568d4281280850f /doc/c
parent136a0204414f74af6d06649d0f1554234ca4eded (diff)
downloadpugl-e493446eee14980e8747486300dabd02595b987a.tar.gz
pugl-e493446eee14980e8747486300dabd02595b987a.tar.bz2
pugl-e493446eee14980e8747486300dabd02595b987a.zip
Improve introduction and deployment documentation
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',