aboutsummaryrefslogtreecommitdiffstats
path: root/doc/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'doc/cpp')
-rw-r--r--doc/cpp/api/meson.build2
-rw-r--r--doc/cpp/meson.build10
2 files changed, 5 insertions, 7 deletions
diff --git a/doc/cpp/api/meson.build b/doc/cpp/api/meson.build
index ce462ed..9c81f6f 100644
--- a/doc/cpp/api/meson.build
+++ b/doc/cpp/api/meson.build
@@ -3,6 +3,6 @@
cpp_pugl_rst = custom_target(
'C++ API ReST Documentation',
- command: [dox_to_sphinx, '-l', 'cpp', '-f', '@INPUT@', meson.current_build_dir()],
+ command: [dox_to_sphinx, '-l', 'cpp', '-f', '@INPUT@', '@OUTDIR@'],
input: cpp_index_xml,
output: 'pugl.rst')
diff --git a/doc/cpp/meson.build b/doc/cpp/meson.build
index ec67d39..559362d 100644
--- a/doc/cpp/meson.build
+++ b/doc/cpp/meson.build
@@ -28,9 +28,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: [cpp_rst_files, cpp_pugl_rst, cpp_index_xml],
output: 'singlehtml',
@@ -39,9 +38,8 @@ docs = custom_target(
install_dir: docdir / 'puglpp-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: [cpp_rst_files, cpp_pugl_rst, cpp_index_xml],
output: 'html',