summaryrefslogtreecommitdiff
path: root/macros/xetex/latex/resumecls/example/Makefile
blob: d64ce8580122a9cb7e914d9c83a33fd9c8290dfb (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
# +-----------------------------------------------------------------------------
# | File: Makefile
# | Author: huxuan
# | E-mail: i(at)huxuan.org
# | Created: 2012-12-18
# | Last modified: 2013-03-16
# | Description:
# |     Makefile for resumecls examples
# |
# | Copyrgiht (c) 2012-2013 by huxuan. All rights reserved.
# +-----------------------------------------------------------------------------

include config.mk

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

# 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