summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-05-15 20:53:49 -0400
committerDavid Robillard <d@drobilla.net>2023-05-15 20:53:49 -0400
commitbace17b6b3d022c046a20a3da25ac3f6fb7674c3 (patch)
treeccae3d68e0e82780159de05a90ab02843d15014f
parent59da01bbc31d2fec5d3fcc87fc87f467b36f9799 (diff)
downloadsuil-bace17b6b3d022c046a20a3da25ac3f6fb7674c3.tar.gz
suil-bace17b6b3d022c046a20a3da25ac3f6fb7674c3.tar.bz2
suil-bace17b6b3d022c046a20a3da25ac3f6fb7674c3.zip
Organize configuration summary
-rw-r--r--doc/meson.build2
-rw-r--r--meson.build12
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