]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
docs: Search for 'asciidoctor' as alternative
authorDaniel Wagner <dwagner@suse.de>
Tue, 31 May 2022 18:26:12 +0000 (20:26 +0200)
committerDaniel Wagner <dwagner@suse.de>
Tue, 31 May 2022 18:26:12 +0000 (20:26 +0200)
There are alternative binary names for asciidoctor. Search for
'asciidoc' or 'asciidoctor' when building the docs.

Signed-off-by: Daniel Wagner <dwagner@suse.de>
Documentation/meson.build

index 65c347d5d81ddc7f966848d2910a9ff360072cc3..2615021a0e9a7ed80e3a386eaa8bc53aa0fd19fa 100644 (file)
@@ -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