mirror of
https://github.com/posquit0/Awesome-CV.git
synced 2026-05-11 00:56:13 +08:00
feat(Makefile): Rename EXAMPLES_DIR to SRC_DIR in Makefile
- Updated variable name from EXAMPLES_DIR to SRC_DIR for better clarity - Updated all references in build rules and clean target - Maintains same functionality with improved naming
This commit is contained in:
parent
e936f68bd4
commit
7837a754f5
1 changed files with 8 additions and 8 deletions
16
Makefile
16
Makefile
|
|
@ -1,7 +1,7 @@
|
|||
.PHONY: examples
|
||||
|
||||
CC = latexmk -xelatex
|
||||
EXAMPLES_DIR = src
|
||||
SRC_DIR = src
|
||||
RESUME_DIR = src/resume
|
||||
CV_DIR = src/cv
|
||||
RESUME_SRCS = $(shell find $(RESUME_DIR) -name '*.tex')
|
||||
|
|
@ -9,14 +9,14 @@ 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) $<
|
||||
resume.pdf: $(SRC_DIR)/resume.tex $(RESUME_SRCS)
|
||||
$(CC) -output-directory=$(SRC_DIR) $<
|
||||
|
||||
cv.pdf: $(EXAMPLES_DIR)/cv.tex $(CV_SRCS)
|
||||
$(CC) -output-directory=$(EXAMPLES_DIR) $<
|
||||
cv.pdf: $(SRC_DIR)/cv.tex $(CV_SRCS)
|
||||
$(CC) -output-directory=$(SRC_DIR) $<
|
||||
|
||||
coverletter.pdf: $(EXAMPLES_DIR)/coverletter.tex
|
||||
$(CC) -output-directory=$(EXAMPLES_DIR) $<
|
||||
coverletter.pdf: $(SRC_DIR)/coverletter.tex
|
||||
$(CC) -output-directory=$(SRC_DIR) $<
|
||||
|
||||
clean:
|
||||
rm -rf $(EXAMPLES_DIR)/*.pdf $(EXAMPLES_DIR)/*.xdv $(EXAMPLES_DIR)/*.fdb_latexmk $(EXAMPLES_DIR)/*.fls *.fls
|
||||
rm -rf $(SRC_DIR)/*.pdf $(SRC_DIR)/*.xdv $(SRC_DIR)/*.fdb_latexmk $(SRC_DIR)/*.fls *.fls
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue