[commit: ghc] ghc-8.0: rules/sphinx.mk: stop xelatex on error (b819d44)

git at git.haskell.org git at git.haskell.org
Fri Jul 8 14:12:51 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : ghc-8.0
Link       : http://ghc.haskell.org/trac/ghc/changeset/b819d4464ee835fef21a4dd403dc18c14db27426/ghc

>---------------------------------------------------------------

commit b819d4464ee835fef21a4dd403dc18c14db27426
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.
    
    (cherry picked from commit 6ba4197e006b6d6bc2657141d4c10c91bd806cb3)


>---------------------------------------------------------------

b819d4464ee835fef21a4dd403dc18c14db27426
 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