diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-06-30 22:36:07 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-06-30 22:36:07 +0000 |
commit | 97e3d220503a676acd81839dea289f4e700d8bd8 (patch) | |
tree | 69791901e1ca15319c5c63ffb52fe9cc686f8bee /doc/meson.build | |
parent | Adding upstream version 1.4. (diff) | |
download | libnvme-97e3d220503a676acd81839dea289f4e700d8bd8.tar.xz libnvme-97e3d220503a676acd81839dea289f4e700d8bd8.zip |
Adding upstream version 1.5.upstream/1.5
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'doc/meson.build')
-rw-r--r-- | doc/meson.build | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/doc/meson.build b/doc/meson.build index edbc3be..f12f3b9 100644 --- a/doc/meson.build +++ b/doc/meson.build @@ -9,14 +9,15 @@ # api_files = [ + 'fabrics.h', 'filters.h', 'ioctl.h', 'linux.h', 'log.h', 'mi.h', + 'nbft.h', 'tree.h', 'types.h', - 'fabrics.h', 'util.h' ] @@ -44,10 +45,12 @@ endforeach subdir('rst') +top_source_dir = meson.current_source_dir() + '/../' + want_docs = get_option('docs') want_docs_build = get_option('docs-build') -kernel_doc = find_program('kernel-doc') -kernel_doc_check = find_program('kernel-doc-check') +kernel_doc = find_program(top_source_dir + 'scripts/kernel-doc') +kernel_doc_check = find_program(top_source_dir +'scripts/kernel-doc-check') test('kdoc', kernel_doc_check, args: api_paths) @@ -55,7 +58,7 @@ if want_docs != 'false' if want_docs == 'all' or want_docs == 'man' mandir = join_paths(get_option('mandir'), 'man2') - list_man_pages = find_program('list-man-pages.sh') + list_man_pages = find_program(top_source_dir + 'scripts/list-man-pages.sh') if want_docs_build foreach apif : api_paths c = run_command(list_man_pages, apif, check: true) @@ -78,7 +81,7 @@ if want_docs != 'false' endforeach else if want_docs == 'all' or want_docs == 'man' - list_pre_compiled = find_program('list-pre-compiled.sh') + list_pre_compiled = find_program(top_source_dir + 'scripts/list-pre-compiled.sh') m = run_command(list_pre_compiled, check: true) man_pages = m.stdout().strip().split('\n') install_data(man_pages, install_dir: mandir) |