From 6dc47a8dd93accfce0e532d30f49319c7d30e42a Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Tue, 18 Oct 2016 15:15:39 +0200 Subject: 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 --- build/Makefile.asciidoc.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build') 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) -- cgit v1.2.3