diff options
| author | Joe Carstairs <me@joeac.net> | 2026-04-13 13:08:32 +0100 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-04-13 13:08:32 +0100 |
| commit | bc4d50862c27277055cc0fa9969550036ef535a5 (patch) | |
| tree | 9076552633d7292014e3237f2019ce0d1b498df7 | |
| parent | fde033e9440f3134f207346d79a42af9ab06d56f (diff) | |
watch watches all by default in Makefile
| -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 \ |
