summaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorMarkus Rothe <markusr815@gmail.com>2016-06-26 11:28:36 +0200
committerBen Gamari <ben@smart-cactus.org>2016-07-01 14:12:44 +0200
commit6ba4197e006b6d6bc2657141d4c10c91bd806cb3 (patch)
treedf287ecd263f16fd4cbd27e11051b0c3458ec0a9 /rules
parentb412d8230b20223beff797d6207868aea9fd2085 (diff)
downloadhaskell-6ba4197e006b6d6bc2657141d4c10c91bd806cb3.tar.gz
rules/sphinx.mk: stop xelatex on error
This avoids the interactive prompt of xelatex on error.
Diffstat (limited to 'rules')
-rw-r--r--rules/sphinx.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/rules/sphinx.mk b/rules/sphinx.mk
index f3c46b449f..4929f3c90e 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