wwu-577/docs/Makefile

21 lines
291 B
Makefile
Raw Normal View History

2023-06-08 08:36:25 -07:00
.PHONY:watch
PAPER=acm_template
all: $(PAPER).pdf
%.pdf: %.tex
pdflatex $<
bibtex $*||true
pdflatex $<
pdflatex $<
watch:
while true; do \
inotifywait -qr -e modify -e create -e delete -e move ./; \
make $(PAPER).pdf; \
done
clean:
rm -f *.aux *.log *.out *.bbl *.blg *.dvi