-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
56 lines (43 loc) · 1.04 KB
/
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
Compile:
# @rm -rf tmp
@mkdir -p tmp
pdflatex -output-directory tmp/ TAU.tex
pdflatex -output-directory tmp/ TAU.tex
pdflatex -output-directory tmp/ TAU.tex
All: Compile
display: Compile
@evince tmp/TAU.pdf > /dev/null 2>&1 &
# @okular tmp/TAU.pdf > /dev/null 2>&1 &
d1:
@evince tmp/t_1.pdf > /dev/null 2>&1 &
d2:
@evince tmp/t_2.pdf > /dev/null 2>&1 &
.PHONY: clean
clean:
@rm -rf tmp
# @pkill -f evince
.PHONY: Re
Re:
@rm -rf tmp
@mkdir -p tmp
pdflatex -output-directory tmp/ TAU.tex
pdflatex -output-directory tmp/ TAU.tex
.PHONY: t1
t1:
pdflatex -output-directory tmp/ tex/chapters/t_1.tex
pdflatex -output-directory tmp/ tex/chapters/t_1.tex
.PHONY: t2
t2:
pdflatex -output-directory tmp/ tex/chapters/t_2.tex
pdflatex -output-directory tmp/ tex/chapters/t_2.tex
gt: clean
@git reset
@git add *
bugs:
@evince issues/tau_bugs.pdf > /dev/null 2>&1 &
#fullclean:
# @rm -rf tmp
# @rm -f fig/t1/*
# @rm -f fig/t2/*
count:
@find . -name "*.tex" -print0 -o -name "*.md" -print0 -o -name "Makefile" -print0 | xargs -0 wc -l