diff mbox

[PATCHv2] force latex to generate docs

Message ID 1413901886-21728-1-git-send-email-maxim.uvarov@linaro.org
State New
Headers show

Commit Message

Maxim Uvarov Oct. 21, 2014, 2:31 p.m. UTC
make doxygen-doc calls latex to generate odp documentation,
but in case if any error it stops and expects user input.
Force latex progress and show errors/warnings on screen.

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
---

 v2: added -interaction=nonstopmode to pdf generation


 aminclude.am | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
diff mbox

Patch

diff --git a/aminclude.am b/aminclude.am
index a8ce032..a994061 100644
--- a/aminclude.am
+++ b/aminclude.am
@@ -85,14 +85,14 @@  doxygen-ps: @DX_DOCDIR@/@PACKAGE@.ps
 @DX_DOCDIR@/@PACKAGE@.ps: @DX_DOCDIR@/@PACKAGE@.tag
 	cd @DX_DOCDIR@/latex; \
 	rm -f *.aux *.toc *.idx *.ind *.ilg *.log *.out; \
-	$(DX_LATEX) refman.tex; \
+	$(DX_LATEX) -interaction=nonstopmode refman.tex; \
 	$(MAKEINDEX_PATH) refman.idx; \
-	$(DX_LATEX) refman.tex; \
+	$(DX_LATEX) -interaction=nonstopmode refman.tex; \
 	countdown=5; \
 	while $(DX_EGREP) 'Rerun (LaTeX|to get cross-references right)' \
 	                  refman.log > /dev/null 2>&1 \
 	   && test $$countdown -gt 0; do \
-	    $(DX_LATEX) refman.tex; \
+	    $(DX_LATEX) -interaction=nonstopmode refman.tex; \
 	    countdown=`expr $$countdown - 1`; \
 	done; \
 	$(DX_DVIPS) -o ../@PACKAGE@.ps refman.dvi
@@ -114,14 +114,14 @@  doxygen-pdf: @DX_DOCDIR@/@PACKAGE@.pdf
 @DX_DOCDIR@/@PACKAGE@.pdf: @DX_DOCDIR@/@PACKAGE@.tag
 	cd @DX_DOCDIR@/latex; \
 	rm -f *.aux *.toc *.idx *.ind *.ilg *.log *.out; \
-	$(DX_PDFLATEX) refman.tex; \
+	$(DX_PDFLATEX) -interaction=nonstopmod refman.tex; \
 	$(DX_MAKEINDEX) refman.idx; \
-	$(DX_PDFLATEX) refman.tex; \
+	$(DX_PDFLATEX) -interaction=nonstopmod refman.tex; \
 	countdown=5; \
 	while $(DX_EGREP) 'Rerun (LaTeX|to get cross-references right)' \
 	                  refman.log > /dev/null 2>&1 \
 	   && test $$countdown -gt 0; do \
-	    $(DX_PDFLATEX) refman.tex; \
+	    $(DX_PDFLATEX) -interaction=nonstopmod refman.tex; \
 	    countdown=`expr $$countdown - 1`; \
 	done; \
 	mv refman.pdf ../@PACKAGE@.pdf