diff --git a/Makefile b/Makefile index ae1a12a..55bfb38 100644 --- a/Makefile +++ b/Makefile @@ -18,5 +18,14 @@ cv.pdf: $(EXAMPLES_DIR)/cv.tex $(CV_SRCS) coverletter.pdf: $(EXAMPLES_DIR)/coverletter.tex $(CC) -output-directory=$(EXAMPLES_DIR) $< +watch: + inotifywait -m -e modify ./examples/resume/ ./examples/resume.tex ./awesome-cv.cls | \ + while read; do \ + make resume.pdf ; \ + done + +#inotifywait --event MODIFY -q -r *.h tests @*.o; +#inotifywait -m -e modify ./examples/resume/ ./examples/resume.tex ./awesome-cv.cls | while read f; do ; make resume.pdf ; done + clean: rm -rf $(EXAMPLES_DIR)/*.pdf