aboutsummaryrefslogtreecommitdiffstats
path: root/doc/c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-07-07 16:06:56 -0400
committerDavid Robillard <d@drobilla.net>2022-07-07 16:06:56 -0400
commitf34fd2a2fe637c6b7cdb086630a1f590f461cc50 (patch)
treec133dc912fd61fa3acec8e5c442f4c410d9d1a04 /doc/c
parentfe0ee61b27b28d6c7cf80ac8abbdb3af55f43e8b (diff)
downloadpugl-f34fd2a2fe637c6b7cdb086630a1f590f461cc50.tar.gz
pugl-f34fd2a2fe637c6b7cdb086630a1f590f461cc50.tar.bz2
pugl-f34fd2a2fe637c6b7cdb086630a1f590f461cc50.zip
Fix documentation build as a subproject
Diffstat (limited to 'doc/c')
-rw-r--r--doc/c/meson.build10
1 files changed, 4 insertions, 6 deletions
diff --git a/doc/c/meson.build b/doc/c/meson.build
index f8b4626..7954776 100644
--- a/doc/c/meson.build
+++ b/doc/c/meson.build
@@ -30,9 +30,8 @@ subdir('xml')
subdir('api')
docs = custom_target(
- 'singlehtml C documentation for pugl',
- command: [sphinx_build, '-M', 'singlehtml',
- meson.current_build_dir(), meson.current_build_dir(),
+ 'singlehtml',
+ command: [sphinx_build, '-M', 'singlehtml', '@OUTDIR@', '@OUTDIR@',
'-E', '-q', '-t', 'singlehtml'],
input: [c_rst_files, c_pugl_rst, c_index_xml],
output: 'singlehtml',
@@ -41,9 +40,8 @@ docs = custom_target(
install_dir: docdir / 'pugl-0')
docs = custom_target(
- 'html C documentation for pugl',
- command: [sphinx_build, '-M', 'html',
- meson.current_build_dir(), meson.current_build_dir(),
+ 'html',
+ command: [sphinx_build, '-M', 'html', '@OUTDIR@', '@OUTDIR@',
'-E', '-q', '-t', 'html'],
input: [c_rst_files, c_pugl_rst, c_index_xml],
output: 'html',