From: Daniel Wagner Date: Fri, 18 Mar 2022 16:40:19 +0000 (+0100) Subject: doc: Provide SYSCONFDIR without quotes X-Git-Tag: v1.0-rc7 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=131ee681a0e394b291cd407442886dbdf9fe124c;p=users%2Fsagi%2Flibnvme.git doc: Provide SYSCONFDIR without quotes 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 --- diff --git a/doc/meson.build b/doc/meson.build index 0f31eb5b..0f043439 100644 --- a/doc/meson.build +++ b/doc/meson.build @@ -30,6 +30,9 @@ want_docs_build = get_option('docs-build') 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')