[commit: ghc] master: rules/sphinx.mk: stop xelatex on error (6ba4197)
git at git.haskell.org
git at git.haskell.org
Fri Jul 1 12:08:52 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/6ba4197e006b6d6bc2657141d4c10c91bd806cb3/ghc
>---------------------------------------------------------------
commit 6ba4197e006b6d6bc2657141d4c10c91bd806cb3
Author: Markus Rothe <markusr815 at gmail.com>
Date: Sun Jun 26 11:28:36 2016 +0200
rules/sphinx.mk: stop xelatex on error
This avoids the interactive prompt of xelatex on error.
>---------------------------------------------------------------
6ba4197e006b6d6bc2657141d4c10c91bd806cb3
rules/sphinx.mk | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/rules/sphinx.mk b/rules/sphinx.mk
index f3c46b4..4929f3c 100644
--- a/rules/sphinx.mk
+++ b/rules/sphinx.mk
@@ -58,12 +58,12 @@ pdf : pdf_$1
ifneq "$$(BINDIST)" "YES"
$1/$2.pdf: $1/conf.py $$($1_RST_SOURCES)
$(SPHINXBUILD) -b latex -d $1/.doctrees-pdf $(SPHINXOPTS) $1 $1/build-pdf/$2
- cd $1/build-pdf/$2 ; xelatex $2.tex
- cd $1/build-pdf/$2 ; xelatex $2.tex
- cd $1/build-pdf/$2 ; xelatex $2.tex
+ cd $1/build-pdf/$2 ; xelatex -halt-on-error $2.tex
+ cd $1/build-pdf/$2 ; xelatex -halt-on-error $2.tex
+ cd $1/build-pdf/$2 ; xelatex -halt-on-error $2.tex
cd $1/build-pdf/$2 ; makeindex $2.idx
- cd $1/build-pdf/$2 ; xelatex $2.tex
- cd $1/build-pdf/$2 ; xelatex $2.tex
+ cd $1/build-pdf/$2 ; xelatex -halt-on-error $2.tex
+ cd $1/build-pdf/$2 ; xelatex -halt-on-error $2.tex
cp $1/build-pdf/$2/$2.pdf $1/$2.pdf
endif
More information about the ghc-commits
mailing list