At the end of the meson setup command, display the options so that
we can quickly determine that we're configured the project properly
Signed-off-by: Martin Belanger <martin.belanger@dell.com>
[dwagner: ported this from libnvme to nvme-cli]
Signed-off-by: Daniel Wagner <dwagner@suse.de>
install_data(disc,
install_dir: join_paths(sysconfdir, 'nvme'))
+
+################################################################################
+if meson.version().version_compare('>=0.53.0')
+ summary_dict = {
+ 'prefixdir': prefixdir,
+ 'sysconfdir': sysconfdir,
+ 'sbindir': sbindir,
+ 'datadir': datadir,
+ 'mandir': mandir,
+ 'udevrulesdir': udevrulesdir,
+ 'dracutrulesdir': dracutrulesdir,
+ 'systemddir': systemddir,
+ 'build location': meson.current_build_dir(),
+ }
+ summary(summary_dict)
+endif