]> hydra-www.ietfng.org Git - mcv-academic/commitdiff
Add failsafe on first run of pdflatex to avoid early dying on errors
authoradin <adin@ic.unicamp.br>
Fri, 24 Aug 2018 18:12:15 +0000 (15:12 -0300)
committeradin <adin@ic.unicamp.br>
Fri, 24 Aug 2018 18:12:15 +0000 (15:12 -0300)
example/Makefile

index f0d92e3a1d3f1e5be1138b509dbe9e6ded6ebcb2..4470ff14ecd59b99714dad2ddf4197e6dd70bf8b 100644 (file)
@@ -29,7 +29,7 @@ $(PATTERNS): clean
        $(eval STYLE = $(firstword $(subst -, ,$@)))
        $(eval LANG = $(lastword $(subst -, ,$@)))      
        $(eval INPUT="\def\defaultstyle{$(STYLE)}\def\defaultdetails{$(DETAILS)}\def\defaultopts{\selectshortlanguage{$(LANG)}}\input{$(SOURCE)}")
-       pdflatex -interaction=nonstopmode $(INPUT) -jobname=$(NAME)
+       pdflatex -interaction=nonstopmode $(INPUT) -jobname=$(NAME) || true
        biber $(NAME)
        pdflatex -interaction=nonstopmode $(INPUT) -jobname=$(NAME)
        pdflatex -interaction=nonstopmode $(INPUT) -jobname=$(NAME)