Commit 6ba4197e authored by Markus Rothe's avatar Markus Rothe Committed by Ben Gamari

rules/sphinx.mk: stop xelatex on error

This avoids the interactive prompt of xelatex on error.
parent b412d823
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment