From: Emil Velikov Date: Thu, 24 Oct 2024 21:35:01 +0000 (+0100) Subject: meson: group and print all directories in the summary X-Git-Tag: v34~169 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7401bb075be243ad83d806fcc56fb0e43bc94968;p=thirdparty%2Fkmod.git meson: group and print all directories in the summary The original listing (both contents and ordering) was copied from autotools. Update it to be more comprehensive and logical. Signed-off-by: Emil Velikov Link: https://github.com/kmod-project/kmod/pull/209 Signed-off-by: Lucas De Marchi --- diff --git a/meson.build b/meson.build index 59125596..e58af869 100644 --- a/meson.build +++ b/meson.build @@ -247,7 +247,6 @@ foreach tuple : _completiondirs endforeach endif - # NEEDED solely for bash/kmod below set_variable(dir_option, completiondir) endforeach @@ -497,15 +496,25 @@ if get_option('docs') endif summary({ - 'moduledir' : moduledir, 'prefix' : prefixdir, 'sysconfdir' : sysconfdir, - 'distconfdir' : distconfdir, - 'libdir' : libdir, + 'bindir' : bindir, 'includedir' : includedir, - 'bindir' : bindir + 'libdir' : libdir, + 'datadir' : datadir, }, section : 'Directories') +summary({ + 'distconfdir' : distconfdir, + 'moduledir' : moduledir, +}, section : 'Kmod specific') + +summary({ + 'bashcompletiondir' : bashcompletiondir, + 'fishcompletiondir' : fishcompletiondir, + 'zshcompletiondir' : zshcompletiondir, +}, section : 'Shell completions') + summary({ 'tools' : get_option('tools'), 'logging' : get_option('logging'),