aboutsummaryrefslogtreecommitdiffstats
path: root/doc/cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-10-07 14:53:16 -0400
committerDavid Robillard <d@drobilla.net>2022-10-07 14:53:16 -0400
commit9b8d847284eea14d64d8d22cefde8103dee41132 (patch)
tree8a8634d1dd903b14e402cc1e5b100d309ae3c04e /doc/cpp
parent727b6835a63d2a163dae434e1090a14aa7011373 (diff)
downloadpugl-9b8d847284eea14d64d8d22cefde8103dee41132.tar.gz
pugl-9b8d847284eea14d64d8d22cefde8103dee41132.tar.bz2
pugl-9b8d847284eea14d64d8d22cefde8103dee41132.zip
Clean up meson definitions
Diffstat (limited to 'doc/cpp')
-rw-r--r--doc/cpp/api/meson.build3
-rw-r--r--doc/cpp/meson.build22
-rw-r--r--doc/cpp/xml/meson.build11
3 files changed, 22 insertions, 14 deletions
diff --git a/doc/cpp/api/meson.build b/doc/cpp/api/meson.build
index 9c81f6f..9ccdd0b 100644
--- a/doc/cpp/api/meson.build
+++ b/doc/cpp/api/meson.build
@@ -5,4 +5,5 @@ cpp_pugl_rst = custom_target(
'C++ API ReST Documentation',
command: [dox_to_sphinx, '-l', 'cpp', '-f', '@INPUT@', '@OUTDIR@'],
input: cpp_index_xml,
- output: 'pugl.rst')
+ output: 'pugl.rst',
+)
diff --git a/doc/cpp/meson.build b/doc/cpp/meson.build
index 559362d..bc7af98 100644
--- a/doc/cpp/meson.build
+++ b/doc/cpp/meson.build
@@ -4,9 +4,11 @@
config = configuration_data()
config.set('PUGL_VERSION', meson.project_version())
-conf_py = configure_file(configuration: config,
- input: '../conf.py.in',
- output: 'conf.py')
+conf_py = configure_file(
+ configuration: config,
+ input: '../conf.py.in',
+ output: 'conf.py',
+)
configure_file(copy: true, input: '../deployment.rst', output: 'deployment.rst')
configure_file(copy: true, input: '../summary.rst', output: 'summary.rst')
@@ -29,20 +31,22 @@ subdir('api')
docs = custom_target(
'singlehtml',
+ build_by_default: true,
command: [sphinx_build, '-M', 'singlehtml', '@OUTDIR@', '@OUTDIR@',
'-E', '-q', '-t', 'singlehtml'],
input: [cpp_rst_files, cpp_pugl_rst, cpp_index_xml],
- output: 'singlehtml',
- build_by_default: true,
install: true,
- install_dir: docdir / 'puglpp-0')
+ install_dir: docdir / 'puglpp-0',
+ output: 'singlehtml',
+)
docs = custom_target(
'html',
command: [sphinx_build, '-M', 'html', '@OUTDIR@', '@OUTDIR@',
'-E', '-q', '-t', 'html'],
- input: [cpp_rst_files, cpp_pugl_rst, cpp_index_xml],
- output: 'html',
build_by_default: true,
+ input: [cpp_rst_files, cpp_pugl_rst, cpp_index_xml],
install: true,
- install_dir: docdir / 'puglpp-0')
+ install_dir: docdir / 'puglpp-0',
+ output: 'html',
+)
diff --git a/doc/cpp/xml/meson.build b/doc/cpp/xml/meson.build
index 294cbf2..618d1b9 100644
--- a/doc/cpp/xml/meson.build
+++ b/doc/cpp/xml/meson.build
@@ -10,13 +10,16 @@ config = configuration_data()
config.set('PUGL_SRCDIR', pugl_src_root)
config.set('DOX_OUTPUT', meson.current_build_dir() / '..')
-cpp_doxyfile = configure_file(configuration: config,
- input: '../Doxyfile.in',
- output: 'Doxyfile')
+cpp_doxyfile = configure_file(
+ configuration: config,
+ input: '../Doxyfile.in',
+ output: 'Doxyfile',
+)
cpp_index_xml = custom_target(
'cpp-index.xml',
command: [doxygen, '@INPUT0@'],
input: [cpp_doxyfile] + c_header_files + cpp_header_files,
- output: 'index.xml')
+ output: 'index.xml',
+)