mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
tex.mk: Giving up after first pass if pdflatex returns an error
This commit is contained in:
parent
2f049cc9e3
commit
74ce8baaf8
1 changed files with 1 additions and 1 deletions
|
|
@ -273,7 +273,7 @@ $(OUT).html.zip: $(HTMLDIR)
|
|||
$(OUTPUT).pdf: $(GENERATED)
|
||||
@echo "-- creating pdf file"
|
||||
# for i in 1 2 3 ; do echo "============================ pass $$i"; pdflatex $(MAIN).tex 2>&1 | grep -ve "Underfull\|Overfull"| grep .; done
|
||||
for i in 1 2 3 ; do echo "============================ pass $$i"; pdflatex $(MAIN).tex; done
|
||||
for i in 1 2 3 ; do echo "============================ pass $$i"; pdflatex $(MAIN).tex || exit 1; done
|
||||
mv $(MAIN).pdf $(OUTPUT).pdf
|
||||
|
||||
$(OUT).pdf.zip: $(OUTPUT).pdf
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue