There are alternative binary names for asciidoctor. Search for
'asciidoc' or 'asciidoctor' when building the docs.
Signed-off-by: Daniel Wagner <dwagner@suse.de>
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