Merging upstream version 1.5.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
8f9ab756e2
commit
70a0abe13f
874 changed files with 9553 additions and 1347 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue