blob: b827501474f1599bad0c4bf9c346ea46288c7a22 (
plain)
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
|
LSHORT = lshort-zh-cn
PDF = $(LSHORT).pdf
REQUIRE = $(LSHORT).tex $(LSHORT)-style.sty $(LSHORT)-layout.tex $(LSHORT).ist
TEMP = $(LSHORT).{aux,log,idx,ind,ilg,out,toc,los,synctex.gz} $(LSHORT)-example.aux
TEX = xelatex
MODE = -interaction=nonstopmode -synctex=1
MAKEIDX = makeindex
RM = rm -f
INSTALL = cp
all: $(PDF)
$(PDF): $(REQUIRE)
$(TEX) $(MODE) $(LSHORT)
$(MAKEIDX) -s $(LSHORT).ist $(LSHORT)
$(TEX) $(MODE) $(LSHORT)
$(TEX) $(MODE) $(LSHORT)
install: all
$(INSTALL) $(LSHORT).pdf ..
clean:
$(RM) $(TEMP) $(LSHORT).pdf
distclean: clean
$(RM) ../$(LSHORT).pdf
.PHONY: all install clean distclean
|