Check a2x, asciidoc presence and only build documents when they are

available.
This commit is contained in:
Tatsuhiro Tsujikawa 2010-12-02 23:55:52 +09:00
parent 816be74e61
commit 7a3faa625b
3 changed files with 17 additions and 3 deletions

View file

@ -8,5 +8,7 @@ dist_doc_DATA = README README.asciidoc README.html
dist_noinst_DATA = LICENSE.OpenSSL
if HAVE_ASCIIDOC
README.html: README.asciidoc
/usr/bin/asciidoc -d article -b xhtml11 -n README.asciidoc
@ASCIIDOC@ -d article -b xhtml11 -n README.asciidoc
endif # HAVE_ASCIIDOC