From 6b18babf40d493bde0d0eed27be9da4a4e0b9a2f Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Tue, 31 May 2022 20:26:12 +0200 Subject: [PATCH] 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 --- Documentation/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.50.1