-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
49 lines (43 loc) · 892 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
TEX = pdflatex -shell-escape -interaction=nonstopmode -file-line-error
BIB = biber
NAME = thesis
GLO = makeglossaries
TEXFILE = ${NAME}.tex
PDFFILE = ${NAME}.pdf
BCFFILE = ${NAME}.bcf
.PHONY: all clean clean_all
all : ${PDFFILE}
${PDFFILE} : ${TEXFILE}
${TEX} ${NAME}
${BIB} ${NAME}
${GLO} ${NAME}
${TEX} ${NAME}
${TEX} ${NAME}
clean :
@rm *.bbl || true
@rm *.log || true
@rm *.out || true
@rm *.blg || true
@rm *.toc || true
@rm *.aux || true
@rm *.bak || true
@rm *.pyg || true
@rm *.backup || true
@rm *.lof || true
@rm *.synctex.gz || true
@rm *.run.xml || true
@rm *.bcf || true
@rm *.glg || true
@rm *.glo || true
@rm *.gls || true
@rm *.lot || true
@rm *.xdy || true
@rm 02-main/*.aux || true
@rm -rf _minted* || true
@rm *.mtc* || true
@rm *.lol || true
@rm *.maf || true
clean_all : clean
@rm ${PDFFILE} || true
clean_atom:
@rm ${PDFFILE} || true