mirror of
https://github.com/posquit0/Awesome-CV.git
synced 2026-01-13 10:08:10 +08:00
- Add xeCJK package to awesome-cv.cls for Chinese font support - Configure Noto Sans CJK SC as default Chinese fonts - Create Chinese resume example (resume-zh.tex) with sample content - Add Chinese resume sections: summary, experience, skills, education, honors, certificates - Update Makefile with `examples-zh` target for compiling Chinese resume Usage: make examples-zh # Compile Chinese resume
31 lines
910 B
Makefile
31 lines
910 B
Makefile
.PHONY: examples examples-zh
|
|
|
|
CC = xelatex
|
|
EXAMPLES_DIR = examples
|
|
RESUME_DIR = examples/resume
|
|
CV_DIR = examples/cv
|
|
RESUME_ZH_DIR = examples/resume-zh
|
|
RESUME_SRCS = $(shell find $(RESUME_DIR) -name '*.tex')
|
|
CV_SRCS = $(shell find $(CV_DIR) -name '*.tex')
|
|
RESUME_ZH_SRCS = $(shell find $(RESUME_ZH_DIR) -name '*.tex')
|
|
|
|
examples: $(foreach x, coverletter cv resume, $x.pdf)
|
|
|
|
# Chinese resume target / 中文简历编译目标
|
|
examples-zh: resume-zh.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) $<
|
|
|
|
# Chinese resume / 中文简历
|
|
resume-zh.pdf: $(EXAMPLES_DIR)/resume-zh.tex $(RESUME_ZH_SRCS)
|
|
$(CC) -output-directory=$(EXAMPLES_DIR) $<
|
|
|
|
clean:
|
|
rm -rf $(EXAMPLES_DIR)/*.pdf
|