Add auto update to Makefile
This commit is contained in:
@@ -18,5 +18,14 @@ cv.pdf: $(EXAMPLES_DIR)/cv.tex $(CV_SRCS)
|
|||||||
coverletter.pdf: $(EXAMPLES_DIR)/coverletter.tex
|
coverletter.pdf: $(EXAMPLES_DIR)/coverletter.tex
|
||||||
$(CC) -output-directory=$(EXAMPLES_DIR) $<
|
$(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:
|
clean:
|
||||||
rm -rf $(EXAMPLES_DIR)/*.pdf
|
rm -rf $(EXAMPLES_DIR)/*.pdf
|
||||||
|
|||||||
Reference in New Issue
Block a user