forked from posquit0/Awesome-CV
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
45 lines (32 loc) · 1.25 KB
/
Makefile
File metadata and controls
45 lines (32 loc) · 1.25 KB
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
# .PHONY: examples
# CC = xelatex
# EXAMPLES_DIR = examples
# RESUME_DIR = examples/resume
# CV_DIR = examples/cv
# RESUME_SRCS = $(shell find $(RESUME_DIR) -name '*.tex')
# CV_SRCS = $(shell find $(CV_DIR) -name '*.tex')
# examples: $(foreach x, coverletter cv resume, $x.pdf)
# resume.pdf: $(EXAMPLES_DIR)/resume.tex $(RESUME_SRCS)
# $(CC) -output-directory=$(EXAMPLES_DIR) $<
# cv.pdf: $(EXAMPLES_DIR)/cv.tex $(CV_SRCS)
# $(CC) -output-directory=$(EXAMPLES_DIR) $<
# coverletter.pdf: $(EXAMPLES_DIR)/coverletter.tex
# $(CC) -output-directory=$(EXAMPLES_DIR) $<
# clean:
# rm -rf $(EXAMPLES_DIR)/*.pdf
.PHONY: resume
CC = xelatex
EXAMPLES_DIR = resume
RESUME_DIR = resume/input
# CV_DIR = examples/cv
RESUME_SRCS = $(shell find $(RESUME_DIR) -name '*.tex')
# CV_SRCS = $(shell find $(CV_DIR) -name '*.tex')
resume: $(foreach x, resume, $x.pdf)
resume.pdf: $(EXAMPLES_DIR)/resume.tex $(RESUME_SRCS)
$(CC) -output-directory=$(EXAMPLES_DIR) $<
# cv.pdf: $(EXAMPLES_DIR)/cv.tex $(CV_SRCS)
# $(CC) -output-directory=$(EXAMPLES_DIR) $<
# coverletter.pdf: $(EXAMPLES_DIR)/coverletter.tex
# $(CC) -output-directory=$(EXAMPLES_DIR) $<
clean:
rm -f $(EXAMPLES_DIR)/resume.aux $(EXAMPLES_DIR)/resume.fls $(EXAMPLES_DIR)/resume.log $(EXAMPLES_DIR)/resume.fdb_latexmk