This commit is contained in:
Carl Pearson
2017-05-07 15:34:52 -07:00
parent a584cfa0c4
commit 3c92c7e9b1
8 changed files with 48 additions and 38 deletions

View File

@@ -15,6 +15,14 @@ pdf: $(TEXFILE)
$(TEX) -shell-escape $<
$(TEX) -shell-escape $<
watch:
$(info ************ WATCHING FOR CHANGES ************)
watchman watch $(shell pwd)
watchman -- trigger $(shell pwd) pyfiles 'figures/*.py' -- ls -l
unwatch:
$(info ************ CANCELLING WATCH ************)
watchman watch-del "$(shell pwd)"
clean:
rm -f \
$(TEXFILE:.tex=.pdf) \