summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-06-14 12:58:40 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-06-14 12:58:40 +0200
commit6a9197ac098843c96380ebc5f41531c910c3044c (patch)
tree77c7de74fff207ba67e3901ac11d6a1e79a8f862 /eclass/latex-package.eclass
parentlatex-package.eclass: Drop redicting output to /dev/null for latex commands. (diff)
downloadgentoo-6a9197ac098843c96380ebc5f41531c910c3044c.tar.gz
gentoo-6a9197ac098843c96380ebc5f41531c910c3044c.tar.bz2
gentoo-6a9197ac098843c96380ebc5f41531c910c3044c.zip
latex-package.eclass: Use halt on error and nonstopmode for latex invocations to get more useful log.
Diffstat (limited to 'eclass/latex-package.eclass')
-rw-r--r--eclass/latex-package.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/latex-package.eclass b/eclass/latex-package.eclass
index 95d98e673700..f42b6fdd25d8 100644
--- a/eclass/latex-package.eclass
+++ b/eclass/latex-package.eclass
@@ -139,8 +139,8 @@ latex-package_src_doinstall() {
do
[ -n "${LATEX_PACKAGE_SKIP}" ] && has ${i##*/} ${LATEX_PACKAGE_SKIP} && continue
einfo "Making documentation: $i"
- if pdflatex ${LATEX_DOC_ARGUMENTS} --interaction=batchmode $i ; then
- pdflatex ${LATEX_DOC_ARGUMENTS} --interaction=batchmode $i || die
+ if pdflatex ${LATEX_DOC_ARGUMENTS} --halt-on-error --interaction=nonstopmode $i ; then
+ pdflatex ${LATEX_DOC_ARGUMENTS} --halt-on-error --interaction=nonstopmode $i || die
else
einfo "pdflatex failed, trying texi2dvi"
texi2dvi -q -c --language=latex $i || die
@@ -205,7 +205,7 @@ latex-package_src_compile() {
for i in `find \`pwd\` -maxdepth 1 -type f -name "*.ins"`
do
einfo "Extracting from $i"
- latex --interaction=batchmode $i || die
+ latex --halt-on-error --interaction=nonstopmode $i || die
done
}