Awesome-CV/Makefile
Mahdi Hoseini 2e1cd7efbc style(coverletter): Add SyncTeX files to .gitignore and clean target
- Add *.synctex.gz and *.synctex.gz(busy) to .gitignore
- Update Makefile clean target to remove SyncTeX files
- Remove existing coverletter.synctex.gz build artifact
2025-08-31 14:55:44 -07:00

22 lines
625 B
Makefile

.PHONY: examples
CC = latexmk -xelatex
SRC_DIR = src
RESUME_DIR = src/resume
CV_DIR = src/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: $(SRC_DIR)/resume.tex $(RESUME_SRCS)
$(CC) -output-directory=$(SRC_DIR) $<
cv.pdf: $(SRC_DIR)/cv.tex $(CV_SRCS)
$(CC) -output-directory=$(SRC_DIR) $<
coverletter.pdf: $(SRC_DIR)/coverletter.tex
$(CC) -output-directory=$(SRC_DIR) $<
clean:
rm -rf $(SRC_DIR)/*.pdf $(SRC_DIR)/*.xdv $(SRC_DIR)/*.fdb_latexmk $(SRC_DIR)/*.fls $(SRC_DIR)/*.synctex.gz *.fls