Unfortunately, we can't use the configuration data object defined in
the top meson.build file as this one is with quotes. Instead, making
the c code ugly, just provide a new configuration data object without
the quotes. This avoid generating strings suchs as
"/etc"/nvme/hostnqn
Signed-off-by: Daniel Wagner <dwagner@suse.de>
if want_docs != 'false'
kernel_doc = find_program('kernel-doc')
+ conf = configuration_data()
+ conf.set('SYSCONFDIR', sysconfdir)
+
if want_docs == 'all' or want_docs == 'man'
mandir = join_paths(get_option('mandir'), 'man2')
list_man_pages = find_program('list-man-pages.sh')