summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2016-10-18 15:15:39 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2016-10-18 17:11:22 +0200
commit6dc47a8dd93accfce0e532d30f49319c7d30e42a (patch)
tree5e846f187eef3443460adbd5c0ada2545b332b18 /build
parentb156e764698e560101af25a28eee461fad33f64a (diff)
cosmetic: build: on a2x failure, use asciidoc -v and $ASCIIDOC_OPTS
This is only used to output warnings in case the a2x build failed. Use ASCIIDOC_OPTS instead of repeating the same options (with one missing) and add verbose output by asciidoc. Change-Id: I6135ba1a3e46610eea6089e2218f1024c49054be
Diffstat (limited to 'build')
-rw-r--r--build/Makefile.asciidoc.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/Makefile.asciidoc.inc b/build/Makefile.asciidoc.inc
index f95cd0b..fad91fa 100644
--- a/build/Makefile.asciidoc.inc
+++ b/build/Makefile.asciidoc.inc
@@ -30,7 +30,7 @@ A2X_OPTS := -L --asciidoc-opts="$(ASCIIDOC_OPTS)" --dblatex-opts="$(DBLATEX_OPTS
all: $(ASCIIDOCPDFS)
$(ASCIIDOCPDFS): %.pdf: %.adoc %-docinfo.xml $(ASCIIDOCSTYLE) $(TOPDIR)/common/chapters/*.adoc
- a2x $(A2X_OPTS) $< || asciidoc -f $(BUILDDIR)/mscgen-filter.conf -f $(BUILDDIR)/diag-filter.conf $<
+ a2x $(A2X_OPTS) $< || asciidoc -v $(ASCIIDOC_OPTS) $<
check: $(ASCIIDOC_CHECKS)