forked from wangyif2/RE-for-beginners
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
99 lines (80 loc) · 1.37 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
all: UAL-EN UAL-RU UAL-DE UAL-FR UAL-JP RE4B-RU RE4B-EN RE4B-DE RE4B-FR RE4B-JP
clean:
rm -f *.aux
rm -f *.fls
rm -f *.swp
rm -f *.pdf
rm -f *.out
rm -f *.toc
rm -f *.stackdump
rm -f *.bbl
rm -f *.blg
rm -f *.fdb_latexmk
rm -f *.idx
rm -f *.ilg
rm -f *.ind
rm -f *.html
rm -f *.tmp
rm -f *-2k
rm -f *.4ct
rm -f *.4tc
rm -f *.dvi
rm -f *.glg
rm -f *.glo
rm -f *.gls
rm -f *.idv
rm -f *.ist
rm -f *.xref
rm -f *.torrent
rm -f RE_for_beginners-*.log
rm -f Reverse_Engineering_for_Beginners-*.log
rm -f RE4B-*.log
rm -f *~
rm -f *.log
rm -f *.lyx
rm -f *.ni
rm -f *.odt
rm -f *.rtf
# there are two xelatex invocations at the end, because \myref{} doesn't show pages correctly otherwise
define compile
rm -f *.fls
rm -f *.bbl
rm -f *.aux
xelatex $1
makeindex $1
makeglossaries $1
xelatex $1
xelatex $1
endef
RE4B-RU:
$(call compile,RE4B-RU)
RE4B-EN:
$(call compile,RE4B-EN)
RE4B-ES:
$(call compile,RE4B-ES)
RE4B-PTBR:
$(call compile,RE4B-PTBR)
RE4B-PL:
$(call compile,RE4B-PL)
RE4B-IT:
$(call compile,RE4B-IT)
RE4B-DE:
$(call compile,RE4B-DE)
RE4B-TH:
$(call compile,RE4B-TH)
RE4B-NL:
$(call compile,RE4B-NL)
RE4B-FR:
$(call compile,RE4B-FR)
RE4B-JP:
$(call compile,RE4B-JP)
UAL-RU:
$(call compile,UAL-RU)
UAL-EN:
$(call compile,UAL-EN)
UAL-DE:
$(call compile,UAL-DE)
UAL-FR:
$(call compile,UAL-FR)
UAL-JP:
$(call compile,UAL-JP)