resume/Makefile
Jean-Michel Tremblay dbe2287547
All checks were successful
Build Resume / build (push) Successful in 3s
mess with makefile again
2026-04-19 21:47:22 -04:00

17 lines
No EOL
650 B
Makefile

.PHONY: examples
CC = xelatex
EXAMPLES_DIR = examples
RESUME_DIR = examples/resume
CV_DIR = examples/cv
RESUME_SRCS = $(shell find $(RESUME_DIR) -name '*.tex')
CV_SRCS = $(shell find $(CV_DIR) -name '*.tex')
# resume.pdf: $(EXAMPLES_DIR)/resume_jm_tremblay.tex $(RESUME_SRCS)
# $(CC) -output-directory=$(EXAMPLES_DIR) $<
# mv $(EXAMPLES_DIR)/resume_jm_tremblay.pdf $(EXAMPLES_DIR)/resume_jm_tremblay_$$(date +%Y_%m_%d).pdf
resume.pdf: $(EXAMPLES_DIR)/resume_jm_tremblay.tex $(RESUME_SRCS)
$(CC) -output-directory=$(EXAMPLES_DIR) $<
mv $(EXAMPLES_DIR)/resume_jm_tremblay.pdf $(EXAMPLES_DIR)/resume_jm_tremblay_$$(date +%Y-%m-%dT%H-%M-%S%z).pdf