We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1683e1d commit b76d868Copy full SHA for b76d868
1 file changed
libnvme/doc/meson.build
@@ -49,9 +49,11 @@ subdir('rst')
49
top_source_dir = meson.current_source_dir() + '/../'
50
51
kernel_doc = find_program(top_source_dir + 'scripts/kernel-doc')
52
-kernel_doc_check = find_program(top_source_dir +'scripts/kernel-doc-check')
+kernel_doc_check = files('../scripts/kernel-doc-check')
53
+# Find the path to bash and use it so we don't pick up the WSL bash in Windows.
54
+bash_prog = find_program('bash', required: true)
55
-test('libnvme - kdoc', kernel_doc_check, args: api_paths)
56
+test('libnvme - kdoc', bash_prog, args: [kernel_doc_check] + api_paths)
57
58
if want_docs != 'false'
59
if want_docs == 'all' or want_docs == 'man'
0 commit comments