summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-12-02 23:55:52 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-12-02 23:55:52 +0900
commit7a3faa625b5cec443b37c427277182b5ee545b6c (patch)
treede474b4ac88d35fa957fd9f016a0ab7a429661a3 /Makefile.am
parent816be74e617761420fdf8dea1fbcd8af5528c615 (diff)
Check a2x, asciidoc presence and only build documents when they are
available.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index f8ea7634..1a63b8f4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -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 \ No newline at end of file