Add pdf rule for vim make to work
authorLukáš Jiřiště <gymnazium.jiriste@gmail.com>
Sun, 14 Sep 2025 11:11:28 +0000 (13:11 +0200)
committerLukáš Jiřiště <gymnazium.jiriste@gmail.com>
Sun, 14 Sep 2025 11:11:28 +0000 (13:11 +0200)
Makefile

index 0eb8a6b26f5e8a5efe2c03a1c85f5fbfa1f70d5f..e87993c2affaa1c31a097e49ab9ee553e62dd7ab 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,9 @@ LOGS := $(SRCS:%.tex=%.log)
 
 all : $(CVS)
 
-%.pdf : %.tex
+pdf : $(CVS)
+
+%.pdf : %.tex resume.cls
        pdflatex -output-directory=$(<:%/cv.tex=%) $< && pdflatex -output-directory=$(<:%/cv.tex=%) $<
 
 clean :