aboutsummaryrefslogtreecommitdiffstats
path: root/doc/cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-10-05 12:26:41 -0400
committerDavid Robillard <d@drobilla.net>2024-10-05 12:26:41 -0400
commit0a2e26e998a64f981cc308249010173cebfa6ad2 (patch)
tree12c75f3609b4760fdb2ddd82eaca74a166d98a97 /doc/cpp
parentdc2c434fdb4c77a7cd14e22d2624c0ee879ca029 (diff)
downloadpugl-0a2e26e998a64f981cc308249010173cebfa6ad2.tar.gz
pugl-0a2e26e998a64f981cc308249010173cebfa6ad2.tar.bz2
pugl-0a2e26e998a64f981cc308249010173cebfa6ad2.zip
Clean up documentation build and use unique target names
Diffstat (limited to 'doc/cpp')
-rw-r--r--doc/cpp/api/meson.build2
-rw-r--r--doc/cpp/meson.build6
-rw-r--r--doc/cpp/xml/meson.build4
3 files changed, 6 insertions, 6 deletions
diff --git a/doc/cpp/api/meson.build b/doc/cpp/api/meson.build
index 9b2f7e6..7f05f42 100644
--- a/doc/cpp/api/meson.build
+++ b/doc/cpp/api/meson.build
@@ -2,7 +2,7 @@
# SPDX-License-Identifier: 0BSD OR ISC
cpp_pugl_rst = custom_target(
- 'C++ API ReST Documentation',
+ 'cpp_pugl.rst',
command: [sphinxygen, '-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 ca6bc5b..723510b 100644
--- a/doc/cpp/meson.build
+++ b/doc/cpp/meson.build
@@ -1,4 +1,4 @@
-# Copyright 2021 David Robillard <d@drobilla.net>
+# Copyright 2021-2024 David Robillard <d@drobilla.net>
# SPDX-License-Identifier: 0BSD OR ISC
config = configuration_data()
@@ -30,7 +30,7 @@ subdir('xml')
subdir('api')
docs = custom_target(
- 'singlehtml',
+ 'cpp_singlehtml',
build_by_default: true,
command: [
sphinx_build,
@@ -48,7 +48,7 @@ docs = custom_target(
)
docs = custom_target(
- 'html',
+ 'cpp_html',
command: [
sphinx_build,
'-M', 'html',
diff --git a/doc/cpp/xml/meson.build b/doc/cpp/xml/meson.build
index 72bb8ee..083a6cc 100644
--- a/doc/cpp/xml/meson.build
+++ b/doc/cpp/xml/meson.build
@@ -1,4 +1,4 @@
-# Copyright 2021 David Robillard <d@drobilla.net>
+# Copyright 2021-2024 David Robillard <d@drobilla.net>
# SPDX-License-Identifier: 0BSD OR ISC
config = configuration_data()
@@ -12,7 +12,7 @@ cpp_doxyfile = configure_file(
)
cpp_index_xml = custom_target(
- 'cpp-index.xml',
+ 'cpp_index.xml',
command: [doxygen, '@INPUT0@'],
input: [cpp_doxyfile] + c_headers + cpp_headers,
output: 'index.xml',