From 34038d987a059faa7a62a1078914a06b49269f20 Mon Sep 17 00:00:00 2001 From: Grigory Starinkin Date: Thu, 4 Jan 2018 08:32:08 +0000 Subject: [PATCH] fix makefile to not attempt to build deleted targets --- Makefile | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/Makefile b/Makefile index 2df5cd3..119650f 100644 --- a/Makefile +++ b/Makefile @@ -2,21 +2,13 @@ CC = 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') -docs: $(foreach x, coverletter cv resume, $x.pdf) - -resume.pdf: $(SRC_DIR)/resume.tex $(RESUME_SRCS) - $(CC) -output-directory=$(SRC_DIR) $< +docs: cv.pdf 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