refactor(Makefile): Rename target from examples to all for clarity

This commit is contained in:
Mahdi Hoseini 2025-08-31 14:58:41 -07:00
parent 08cd29bf44
commit de096e6aff

View file

@ -1,4 +1,4 @@
.PHONY: examples
.PHONY: all
CC = latexmk -xelatex
SRC_DIR = src
@ -7,7 +7,7 @@ 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)
all: $(foreach x, coverletter cv resume, $x.pdf)
resume.pdf: $(SRC_DIR)/resume.tex $(RESUME_SRCS)
$(CC) -output-directory=$(SRC_DIR) $<