diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-04-03 07:38:52 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-04-03 07:38:52 +0000 |
commit | 90cf2208656c513b78a587e3e0f1f64144c0f209 (patch) | |
tree | 003a07f93ade469ca1e876018c1a0b133b478f3b /doc/meson.build | |
parent | Releasing debian version 1.3-1. (diff) | |
download | libnvme-90cf2208656c513b78a587e3e0f1f64144c0f209.tar.xz libnvme-90cf2208656c513b78a587e3e0f1f64144c0f209.zip |
Merging upstream version 1.4.
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, 3 insertions, 10 deletions
diff --git a/doc/meson.build b/doc/meson.build index 60a92ed..edbc3be 100644 --- a/doc/meson.build +++ b/doc/meson.build @@ -53,24 +53,17 @@ test('kdoc', kernel_doc_check, args: api_paths) if want_docs != 'false' - 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') if want_docs_build foreach apif : api_paths - subst = configure_file( - input: apif, - output: '@BASENAME@.subst', - configuration: conf) - c = run_command(list_man_pages, subst, check: true) + c = run_command(list_man_pages, apif, check: true) man_pages = c.stdout().split() foreach page : man_pages custom_target( page.underscorify() + '_man', - input: subst, + input: apif, output: page + '.2', capture: true, command: [kernel_doc, @@ -78,7 +71,7 @@ if want_docs != 'false' '-man', '-function', page, - subst], + apif], install: true, install_dir: mandir) endforeach |