File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 2
2
3
3
4
4
# TODO: Find pandoc executable.
5
- PANDOC ?= pandoc
5
+ PANDOC ?= pandoc
6
6
7
7
8
8
PANDOC_FLAGS := \
@@ -11,35 +11,35 @@ PANDOC_FLAGS := \
11
11
--top-level-division=chapter
12
12
13
13
14
- LIDRFILES := Preface.lidr \
14
+ LIDR_FILES := Preface.lidr \
15
15
Basics.lidr \
16
16
Induction.lidr \
17
17
Lists.lidr \
18
18
Poly.lidr
19
19
# TODO: Add more chapters, in order, here.
20
20
21
21
22
- TEXFILES := $(LIDRFILES :.lidr=.tex )
22
+ TEX_FILES := $(LIDR_FILES :.lidr=.tex )
23
23
24
24
25
- .PHONY : all clean
25
+ .PHONY : all clean clean-tex
26
26
27
27
28
28
clean : clean-tex
29
- rm -rf all.* auto _minted-all $(TEXFILES )
29
+ rm -rf all.* auto _minted-all $(TEX_FILES )
30
30
31
31
32
32
clean-tex : all.tex
33
33
latexmk -pdf -CA all.tex
34
34
35
35
36
36
all.pdf : all.tex
37
- latexmk -pdf $<
37
+ latexmk -gg - pdf $<
38
38
39
39
40
- all.tex : book.tex $(TEXFILES )
40
+ all.tex : book.tex $(TEX_FILES )
41
41
$(PANDOC ) $(PANDOC_FLAGS ) -N --toc -o $@ \
42
- $(foreach texfile,$(TEXFILES ) ,-A $(texfile ) ) -A footer.tex $<
42
+ $(foreach texfile,$(TEX_FILES ) ,-A $(texfile ) ) -A footer.tex $<
43
43
44
44
45
45
% .tex : % .lidr
You can’t perform that action at this time.
0 commit comments