mirror of
https://github.com/posquit0/Awesome-CV.git
synced 2024-11-25 15:38:35 +00:00
fix makefile to not attempt to build deleted targets
This commit is contained in:
parent
b415cb5949
commit
34038d987a
1 changed files with 1 additions and 9 deletions
10
Makefile
10
Makefile
|
@ -2,21 +2,13 @@
|
||||||
|
|
||||||
CC = xelatex
|
CC = xelatex
|
||||||
SRC_DIR = src
|
SRC_DIR = src
|
||||||
RESUME_DIR = src/resume
|
|
||||||
CV_DIR = src/cv
|
CV_DIR = src/cv
|
||||||
RESUME_SRCS = $(shell find $(RESUME_DIR) -name '*.tex')
|
|
||||||
CV_SRCS = $(shell find $(CV_DIR) -name '*.tex')
|
CV_SRCS = $(shell find $(CV_DIR) -name '*.tex')
|
||||||
|
|
||||||
docs: $(foreach x, coverletter cv resume, $x.pdf)
|
docs: cv.pdf
|
||||||
|
|
||||||
resume.pdf: $(SRC_DIR)/resume.tex $(RESUME_SRCS)
|
|
||||||
$(CC) -output-directory=$(SRC_DIR) $<
|
|
||||||
|
|
||||||
cv.pdf: $(SRC_DIR)/cv.tex $(CV_SRCS)
|
cv.pdf: $(SRC_DIR)/cv.tex $(CV_SRCS)
|
||||||
$(CC) -output-directory=$(SRC_DIR) $<
|
$(CC) -output-directory=$(SRC_DIR) $<
|
||||||
|
|
||||||
coverletter.pdf: $(SRC_DIR)/coverletter.tex
|
|
||||||
$(CC) -output-directory=$(SRC_DIR) $<
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf $(SRC_DIR)/*.pdf
|
rm -rf $(SRC_DIR)/*.pdf
|
||||||
|
|
Loading…
Reference in a new issue