]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
meson: group and print all directories in the summary
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 24 Oct 2024 21:35:01 +0000 (22:35 +0100)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Thu, 24 Oct 2024 22:46:26 +0000 (17:46 -0500)
The original listing (both contents and ordering) was copied from
autotools. Update it to be more comprehensive and logical.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/209
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
meson.build

index 59125596589e3b8cbbc1c57e7502aa0c862df505..e58af869367305d18138b3eb1758cd16ff75cf68 100644 (file)
@@ -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'),