diff options
| -rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,10 +1,17 @@ all: reading-log.pdf watch: +ifdef TARGET while true; do \ $(MAKE) $(TARGET); \ inotifywait -qre close_write .; \ done +else + while true; do \ + $(MAKE) all; \ + inotifywait -qre close_write .; \ + done +endif reading-log.pdf: reading-log.md bibliography.bib pandoc \ |
