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 <[email protected]>
---

 v2: added -interaction=nonstopmode to pdf generation


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

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@/@[email protected]
 @DX_DOCDIR@/@[email protected]: @DX_DOCDIR@/@[email protected]
        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 ../@[email protected] refman.dvi
@@ -114,14 +114,14 @@ doxygen-pdf: @DX_DOCDIR@/@[email protected]
 @DX_DOCDIR@/@[email protected]: @DX_DOCDIR@/@[email protected]
        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 ../@[email protected]
-- 
1.8.5.1.163.gd7aced9


_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to