summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/install-latex-guide-zh-cn/makefile
blob: 8d5129e685997e5945540253250278363793c24e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
INSTALLLATEX  = install-latex-guide-zh-cn
PDF       = $(INSTALLLATEX).pdf
REQUIRE   = $(INSTALLLATEX).tex $(wildcard ./chapter/*.tex) $(wildcard ./appendix/*.tex)
TEMP      = $(INSTALLLATEX).xdv $(INSTALLLATEX).aux $(INSTALLLATEX).log $(INSTALLLATEX).toc $(INSTALLLATEX).out $(INSTALLLATEX).synctex.gz \
            $(wildcard ./chapter/*.aux) $(wildcard ./appendix/*.aux)

TEX       = xelatex
MODE      = -synctex=1
NOPDFMODE = -synctex=1 --no-pdf

all: $(PDF)

$(PDF): $(REQUIRE)
	$(TEX) $(NOPDFMODE) $(INSTALLLATEX)
	$(TEX) $(MODE) $(INSTALLLATEX)

clean:
	rm $(PDF) $(TEMP)

.PHONY: all clean