-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
33 lines (24 loc) · 1.11 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
BASENAME = master
SRC = ${BASENAME}-in.tex style/*.sty style/*.bb
default: ${BASENAME}-wide.pdf ${BASENAME}.pdf
try: ${BASENAME}.tex ${SRC}
TEXINPUTS=.:./style//: platex -shell-escape ${BASENAME}.tex
TEXINPUTS=.:./style//: dvipdfmx ${BASENAME}.dvi
normal: ${BASENAME}.pdf
${BASENAME}-wide.dvi: ${BASENAME}-wide.tex ${SRC}
TEXINPUTS=.:./style//: platex -shell-escape ${BASENAME}-wide.tex
TEXINPUTS=.:./style//: platex ${BASENAME}-wide.tex
TEXINPUTS=.:./style//: platex ${BASENAME}-wide.tex
${BASENAME}-wide.pdf: ${BASENAME}-wide.dvi
TEXINPUTS=.:./style//: dvipdfmx ${BASENAME}-wide.dvi
${BASENAME}.dvi: ${BASENAME}.tex ${SRC}
TEXINPUTS=.:./style//: platex -shell-escape ${BASENAME}.tex
TEXINPUTS=.:./style//: platex ${BASENAME}.tex
TEXINPUTS=.:./style//: platex ${BASENAME}.tex
${BASENAME}.pdf: ${BASENAME}.dvi
TEXINPUTS=.:./style//: dvipdfmx ${BASENAME}.dvi
clean:
rm -f ${BASENAME}*.aux ${BASENAME}*.dvi ${BASENAME}*.log ${BASENAME}*.nav ${BASENAME}*.out ${BASENAME}*.snm ${BASENAME}*.toc ${BASENAME}*.vrb
rm -rf auto *.xbb ./figure/*.xbb ./style/*.xbb
distclean: clean
rm -f ${BASENAME}-wide.pdf ${BASENAME}.pdf