Compile twice if .aux is not there

... avoids the ugly progressbar.
This commit is contained in:
Matthias Vogelgesang 2014-08-28 11:01:38 +02:00
parent 73f583661e
commit 22bce5371b
2 changed files with 9 additions and 1 deletions

2
.gitignore vendored
View File

@ -1,3 +1,5 @@
demo.pdf
*.acn *.acn
*.acr *.acr
*.alg *.alg

View File

@ -1,10 +1,16 @@
SRC = demo.tex SRC = demo.tex
PDF = demo.pdf PDF = demo.pdf
AUX = demo.aux
TEXC := xelatex TEXC := xelatex
.PHONY: clean .PHONY: clean
$(PDF): $(SRC) all: $(PDF)
$(AUX):
$(TEXC) $(SRC)
$(PDF): $(AUX) $(SRC)
$(TEXC) $(SRC) $(TEXC) $(SRC)
clean: clean: