summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/xelatex/resumecls/example/Makefile
blob: 01be9090da4df4984379c6babc681183ee389d16 (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
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
# +-----------------------------------------------------------------------------
# | File: Makefile
# | Author: huxuan
# | E-mail: i(at)huxuan.org
# | Created: 2012-12-18
# | Last modified: 2020-04-16
# | Description:
# |     Makefile for resumecls examples
# |
# | Copyrgiht (c) 2012-2020 by huxuan. All rights reserved.
# +-----------------------------------------------------------------------------

.PHONY: resume resume-zh resume-en clean depclean

RESUME=resume
RESUMEZH=resume-zh
RESUMEEN=resume-en

# resume

resume: resume-zh resume-en

# resume-zh

resume-zh: $(RESUMEZH).pdf

$(RESUMEZH).pdf: $(RESUMEZH).tex $(RESUMEZH).bbl
	xelatex $(RESUMEZH).tex
	xelatex $(RESUMEZH).tex

$(RESUMEZH).bbl: $(RESUME).bib
	xelatex $(RESUMEZH).tex
	-bibtex $(RESUMEZH)

# resume-en

resume-en: $(RESUMEEN).pdf

$(RESUMEEN).pdf: $(RESUMEEN).tex $(RESUMEEN).bbl
	xelatex $(RESUMEEN).tex
	xelatex $(RESUMEEN).tex

$(RESUMEEN).bbl: $(RESUME).bib
	xelatex $(RESUMEEN).tex
	-bibtex $(RESUMEEN)

# clean & depclean

clean:
	-@rm -f \
		*~ \
		*.aux \
		*.bbl \
		*.blg \
		*.log \
		*.out

depclean: clean
	-@rm -f \
		*.pdf