summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build/Makefile.asciidoc.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/build/Makefile.asciidoc.inc b/build/Makefile.asciidoc.inc
index a28a5bb..ee7a60d 100644
--- a/build/Makefile.asciidoc.inc
+++ b/build/Makefile.asciidoc.inc
@@ -57,7 +57,8 @@ $(ASCIIDOC_PDF): %.pdf: %.adoc %-docinfo.xml \
NOTE: TO REMOVE DRAFT MODE, YOU NEED TO EDIT build/custom-dblatex.sty\n\
and remove three lines starting with '% \"DRAFT\" on first page'\n" \
|| true
- a2x $(A2X_OPTS) $< || asciidoc -v $(ASCIIDOC_OPTS) $<
+ a2x $(A2X_OPTS) $< || (echo "ERROR: a2x failed! Running asciidoc to get verbose errors..."; \
+ asciidoc -v $(ASCIIDOC_OPTS) $<; exit 1)
check: $(ASCIIDOC_CHECKS)