metanohi-gopher/Makefile

14 lines
162 B
Makefile

.PHONY: all clean watch
all: index.gph
index.gph: index.gph.sh
sh $< > $@
clean:
rm -f index.gph
watch:
make
while inotifywait -e modify .; do make; done