Skip to content

Commit 131ee68

Browse files
committed
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 <[email protected]>
1 parent 057c801 commit 131ee68

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

doc/meson.build

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ want_docs_build = get_option('docs-build')
3030
if want_docs != 'false'
3131
kernel_doc = find_program('kernel-doc')
3232

33+
conf = configuration_data()
34+
conf.set('SYSCONFDIR', sysconfdir)
35+
3336
if want_docs == 'all' or want_docs == 'man'
3437
mandir = join_paths(get_option('mandir'), 'man2')
3538
list_man_pages = find_program('list-man-pages.sh')

0 commit comments

Comments
 (0)