Fix TOC generation

We really have to build it 3 times, so put it into PHONY.
This commit is contained in:
Julian Ospald 2015-04-21 02:19:46 +02:00
parent a3e083bc32
commit 85b07ff8ff
No known key found for this signature in database
GPG Key ID: 220CD1C5BDEED020
2 changed files with 18 additions and 2 deletions

View File

@ -5,18 +5,26 @@ all: VL1.pdf VL1_handout.pdf
VL1.dvi: VL1.tex
$(LATEX) $<
$(LATEX) $<
$(LATEX) $<
VL1.pdf: VL1.tex
$(PDFLATEX) $<
$(PDFLATEX) $<
$(PDFLATEX) $<
VL1_handout.dvi: VL1_handout.tex
$(LATEX) $<
$(LATEX) $<
$(LATEX) $<
VL1_handout.pdf: VL1_handout.tex
$(PDFLATEX) $<
$(PDFLATEX) $<
$(PDFLATEX) $<
clean:
$(RM_R) "_minted-VL1" "_minted-VL1_handout"
$(RM) VL1.dvi VL1_handout.dvi VL1.pdf VL1_handout.pdf *.log *.aux *.nav *.snm *.toc *.out *.vrb *.gz
.PHONY: all clean
.PHONY: all clean VL1.dvi VL1.pdf VL1_handout.dvi VL1_handout.pdf

View File

@ -5,19 +5,27 @@ all: VL2.pdf VL2_handout.pdf
VL2.dvi: VL2.tex
$(LATEX) $<
$(LATEX) $<
$(LATEX) $<
VL2.pdf: VL2.tex
$(PDFLATEX) $<
$(PDFLATEX) $<
$(PDFLATEX) $<
VL2_handout.dvi: VL2_handout.tex
$(LATEX) $<
$(LATEX) $<
$(LATEX) $<
VL2_handout.pdf: VL2_handout.tex
$(PDFLATEX) $<
$(PDFLATEX) $<
$(PDFLATEX) $<
clean:
$(RM_R) "_minted-VL2" "_minted-VL2_handout"
$(RM) VL2.dvi VL2_handout.dvi VL2.pdf VL2_handout.pdf *.log *.aux *.nav *.snm *.toc *.out *.vrb *.gz
.PHONY: all clean
.PHONY: all clean VL2.dvi VL2.pdf VL2_handout.dvi VL2_handout.pdf