Awesome-CV/Makefile
2018-01-04 08:32:08 +00:00

14 lines
229 B
Makefile

.PHONY: docs
CC = xelatex
SRC_DIR = src
CV_DIR = src/cv
CV_SRCS = $(shell find $(CV_DIR) -name '*.tex')
docs: cv.pdf
cv.pdf: $(SRC_DIR)/cv.tex $(CV_SRCS)
$(CC) -output-directory=$(SRC_DIR) $<
clean:
rm -rf $(SRC_DIR)/*.pdf