diff --git a/doc/Makefile.am b/doc/Makefile.am index 338f077..7e1fbe9 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -41,12 +41,16 @@ endif %.html: %.txt link_doc +if HAVE_ASCIIDOC ./resolve-asciidoc-refs.py $< > asciidoc.tmp asciidoc $(ASCIIDOCOPTS) -o $@ asciidoc.tmp if LINK_DOC ./doxygen-link.py libnl.dict $@ > asciidoc.tmp mv asciidoc.tmp $@ endif +else + @echo "Warning: Building of asciidoc files is disabled, check autoconf logs" +endif asciidoc: core.html route.html index.html