From: Daniel Wagner Date: Tue, 31 May 2022 18:26:12 +0000 (+0200) Subject: docs: Search for 'asciidoctor' as alternative X-Git-Tag: v2.1-rc0~45^2 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=6b18babf40d493bde0d0eed27be9da4a4e0b9a2f;p=users%2Fsagi%2Fnvme-cli.git docs: Search for 'asciidoctor' as alternative There are alternative binary names for asciidoctor. Search for 'asciidoc' or 'asciidoctor' when building the docs. Signed-off-by: Daniel Wagner --- diff --git a/Documentation/meson.build b/Documentation/meson.build index 65c347d5..2615021a 100644 --- a/Documentation/meson.build +++ b/Documentation/meson.build @@ -174,7 +174,7 @@ if want_docs != 'false' mandir = join_paths(get_option('mandir'), 'man1') htmldir = join_paths(get_option('htmldir'), 'nvme') - asciidoctor = find_program('asciidoc', required : false) + asciidoctor = find_program(['asciidoc', 'asciidoctor'], required : false) if want_docs_build and asciidoctor.found() # Build documentation before installing