forked from henrikmidtiby/todonotes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
68 lines (57 loc) · 1.31 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
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 \
todonotes.pdf: \
todonotes.sty \
todonotes.dtx
pdflatex todonotes.dtx
makeindex -s gglo.ist -o todonotes.gls todonotes.glo
makeindex -s gind.ist -o todonotes.ind todonotes.idx
pdflatex todonotes.dtx
pdflatex todonotesexample.tex
pdflatex todonotesexample.tex
rm -rf todonotes
mkdir todonotes
cp todonotes.ins todonotes/todonotes.ins
cp todonotes.dtx todonotes/todonotes.dtx
cp todonotes.sty todonotes/todonotes.sty
cp todonotes.pdf todonotes/todonotes.pdf
cp todonotesexample.tex todonotes/todonotesexample.tex
cp todonotesexample.pdf todonotes/todonotesexample.pdf
cp README todonotes/README
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)