-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
executable file
·56 lines (42 loc) · 1015 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
50
51
52
53
54
55
56
SHELL = /bin/bash
all: thesis
thesis-rubber:
@ if [ ! -f main.aux ]; \
then \
rm -f main.pdf && pdflatex main.tex && rm -f main.pdf && bibtex main.aux; \
fi
rubber --pdf main.tex
thesis:
make proper > /dev/null
pdflatex main.tex
make clean > /dev/null
release:
make proper > /dev/null
pdflatex main.tex && bibtex main.aux && pdflatex main.tex && pdflatex main.tex
make clean > /dev/null
show:
acroread main.pdf
clean:
-rm -f src/*.aux > /dev/null
-rm -f *.log> /dev/null
-rm -f *.toc > /dev/null
-rm -f *.aux > /dev/null
-rm -f *.nav > /dev/null
-rm -f *.snm > /dev/null
-rm -f *.out > /dev/null
-rm -f *.bbl > /dev/null
-rm -f *.blg > /dev/null
-rm -f *.brf > /dev/null
-rm -f *.maf > /dev/null
-rm -f *.tdo > /dev/null
-rm -f *.spl > /dev/null
-rm -f *.lol > /dev/null
-rm -f *.lof > /dev/null
-rm -f *.lot > /dev/null
-rm -f *.tcp > /dev/null
-rm -f *.mtc* > /dev/null
-rm -f *.xml > /dev/null
-rm -f main-blx.bib > /dev/null
proper:
rm -f main.pdf
make clean