diff options
-rw-r--r-- | doc/meson.build | 2 | ||||
-rw-r--r-- | meson.build | 12 |
2 files changed, 10 insertions, 4 deletions
diff --git a/doc/meson.build b/doc/meson.build index 4bccb1f..3f6f0bf 100644 --- a/doc/meson.build +++ b/doc/meson.build @@ -19,5 +19,5 @@ if build_docs endif if not meson.is_subproject() - summary('Documentation', build_docs, bool_yn: true) + summary('Documentation', build_docs, bool_yn: true, section: 'Components') endif diff --git a/meson.build b/meson.build index c490a5f..31937a7 100644 --- a/meson.build +++ b/meson.build @@ -334,8 +334,14 @@ if not get_option('docs').disabled() subdir('doc') endif +# Display top-level summary (augmented in subdirectories) if not meson.is_subproject() - summary('Install prefix', get_option('prefix')) - summary('Headers', get_option('prefix') / get_option('includedir')) - summary('Libraries', get_option('prefix') / get_option('libdir')) + summary( + { + 'Install prefix': get_option('prefix'), + 'Headers': get_option('prefix') / get_option('includedir'), + 'Libraries': get_option('prefix') / get_option('libdir'), + }, + section: 'Directories', + ) endif |