aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-05-15 20:52:51 -0400
committerDavid Robillard <d@drobilla.net>2023-05-15 20:52:51 -0400
commitdbf48d099a78d2075e224549a28e690d56a6d503 (patch)
treeff34729fbe3dff22374fce22acf8a5430ef86fd8 /doc
parentf9ad303b2e7028dffb41a29f2c39278dd13b1bc8 (diff)
downloadserd-dbf48d099a78d2075e224549a28e690d56a6d503.tar.gz
serd-dbf48d099a78d2075e224549a28e690d56a6d503.tar.bz2
serd-dbf48d099a78d2075e224549a28e690d56a6d503.zip
Clean up and organize configuration summary
Diffstat (limited to 'doc')
-rw-r--r--doc/meson.build16
1 files changed, 9 insertions, 7 deletions
diff --git a/doc/meson.build b/doc/meson.build
index 7bc4c0f4..b492483d 100644
--- a/doc/meson.build
+++ b/doc/meson.build
@@ -23,10 +23,6 @@ endif
# Build documentation if all required tools are found
build_docs = doxygen.found() and sphinxygen.found() and sphinx_build.found()
-if not meson.is_subproject()
- summary('Documentation', build_docs, bool_yn: true, section: 'Configuration')
-endif
-
if build_docs
# Warn if the "official" theme isn't present
pymod = import('python')
@@ -74,7 +70,6 @@ endif
# Man Pages #
#############
-mandoc = find_program('mandoc', required: false)
mandoc_css = files('mandoc.css')
if get_option('lint')
@@ -84,6 +79,7 @@ if get_option('lint')
endif
endif
+mandoc = find_program('mandoc', required: false)
if mandoc.found()
configure_file(input: mandoc_css, output: '@PLAINNAME@', copy: true)
@@ -105,6 +101,12 @@ if mandoc.found()
endif
if not meson.is_subproject()
- summary('HTML man pages', build_docs, bool_yn: true)
- summary('Reference documentation', build_docs, bool_yn: true)
+ summary(
+ {
+ 'HTML man pages': mandoc.found(),
+ 'API documentation': build_docs,
+ },
+ bool_yn: true,
+ section: 'Components',
+ )
endif