-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathMakefile
83 lines (71 loc) · 1.98 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
CLEAN := \
todonotes.log \
todonotes.aux \
todonotes.tdo \
todonotes.out \
todonotes.idx \
todonotes.glo \
todonotes.gls \
todonotes.ilg \
todonotes.ind \
todonotes.toc \
todonotesexample.aux \
todonotesexample.out \
todonotesexample.pdf \
todonotesexample.tdo \
todonotesexample.log \
DISTCLEAN := \
todonotes.sty \
todonotes.pdf \
default: \
todonotes.pdf
todonotes.pdf: \
todonotes.sty \
todonotes.dtx \
examples/*.tex
pdflatex todonotes.dtx
makeindex -s gglo.ist -o todonotes.gls todonotes.glo
makeindex -s gind.ist -o todonotes.ind todonotes.idx
pdflatex todonotes.dtx
cd examples && pdflatex externalize.tex
cd examples && pdflatex externalize.tex
cd examples && pdflatex saveColorByUsingLayers.tex
cd examples && pdflatex saveColorByUsingLayers.tex
cd examples && pdflatex saveColorByUsingLayers.tex
cd examples && pdflatex alterAppearenceOfListOfTodos.tex
cd examples && pdflatex alterAppearenceOfListOfTodos.tex
rm -rf todonotes
mkdir -p todonotes/examples
mkdir -p todonotes/img
cp todonotes.ins todonotes/todonotes.ins
cp todonotes.dtx todonotes/todonotes.dtx
cp todonotes.pdf todonotes/todonotes.pdf
cp img/AlteredAppearenceOfListOfTodos.png todonotes/img/AlteredAppearenceOfListOfTodos.png
cp examples/externalize.tex todonotes/examples/
cp examples/externalize.pdf todonotes/examples/
cp examples/saveColorByUsingLayers.tex todonotes/examples/
cp examples/saveColorByUsingLayers.pdf todonotes/examples/
cp examples/alterAppearenceOfListOfTodos.tex todonotes/examples/
cp examples/alterAppearenceOfListOfTodos.pdf todonotes/examples/
cp README todonotes/README
rm -f todonotes.zip
zip -r todonotes.zip todonotes
todonotes.sty: \
todonotes.ins \
todonotes.dtx
rm -f todonotes.sty
pdflatex todonotes.ins
todonotes.gls: \
todonotes.glo
view: \
todonotes.pdf
okular todonotes.pdf
testexample: \
todonotes.sty
pdflatex todonotesexample.tex
okular todonotesexample.pdf
clean:
@rm -f $(CLEAN)
distclean: \
clean
@rm -f $(DISTCLEAN)