Browse Source

Fix TOC generation

We really have to build it 3 times, so put it into PHONY.
Julian Ospald 4 years ago
parent
commit
85b07ff8ff
No account linked to committer's email address
2 changed files with 18 additions and 2 deletions
  1. 9
    1
      VL1/Makefile
  2. 9
    1
      VL2/Makefile

+ 9
- 1
VL1/Makefile View File

@@ -5,18 +5,26 @@ all: VL1.pdf VL1_handout.pdf
5 5
 
6 6
 VL1.dvi: VL1.tex
7 7
 	$(LATEX) $<
8
+	$(LATEX) $<
9
+	$(LATEX) $<
8 10
 
9 11
 VL1.pdf: VL1.tex
10 12
 	$(PDFLATEX) $<
13
+	$(PDFLATEX) $<
14
+	$(PDFLATEX) $<
11 15
 
12 16
 VL1_handout.dvi: VL1_handout.tex
13 17
 	$(LATEX) $<
18
+	$(LATEX) $<
19
+	$(LATEX) $<
14 20
 
15 21
 VL1_handout.pdf: VL1_handout.tex
16 22
 	$(PDFLATEX) $<
23
+	$(PDFLATEX) $<
24
+	$(PDFLATEX) $<
17 25
 
18 26
 clean:
19 27
 	$(RM_R) "_minted-VL1" "_minted-VL1_handout"
20 28
 	$(RM) VL1.dvi VL1_handout.dvi VL1.pdf VL1_handout.pdf *.log *.aux *.nav *.snm *.toc *.out *.vrb *.gz
21 29
 
22
-.PHONY: all clean
30
+.PHONY: all clean VL1.dvi VL1.pdf VL1_handout.dvi VL1_handout.pdf

+ 9
- 1
VL2/Makefile View File

@@ -5,19 +5,27 @@ all: VL2.pdf VL2_handout.pdf
5 5
 
6 6
 VL2.dvi: VL2.tex
7 7
 	$(LATEX) $<
8
+	$(LATEX) $<
9
+	$(LATEX) $<
8 10
 
9 11
 VL2.pdf: VL2.tex
10 12
 	$(PDFLATEX) $<
13
+	$(PDFLATEX) $<
14
+	$(PDFLATEX) $<
11 15
 
12 16
 VL2_handout.dvi: VL2_handout.tex
13 17
 	$(LATEX) $<
18
+	$(LATEX) $<
19
+	$(LATEX) $<
14 20
 
15 21
 VL2_handout.pdf: VL2_handout.tex
16 22
 	$(PDFLATEX) $<
23
+	$(PDFLATEX) $<
24
+	$(PDFLATEX) $<
17 25
 
18 26
 clean:
19 27
 	$(RM_R) "_minted-VL2" "_minted-VL2_handout"
20 28
 	$(RM) VL2.dvi VL2_handout.dvi VL2.pdf VL2_handout.pdf *.log *.aux *.nav *.snm *.toc *.out *.vrb *.gz
21 29
 
22 30
 
23
-.PHONY: all clean
31
+.PHONY: all clean VL2.dvi VL2.pdf VL2_handout.dvi VL2_handout.pdf