Skip to content
Snippets Groups Projects

Add watch target to Makefile

Merged Ola Leifler requested to merge master into master
1 file
+ 3
0
Compare changes
  • Side-by-side
  • Inline
+ 3
0
@@ -24,6 +24,9 @@ $(PDFNAME).pdf: $(TEXMAINFILE) *.tex
view: $(PDFNAME).pdf
$(PDFVIEWER) $(PDFNAME).pdf &
watch:
while true; do make --silent; sleep 2; done
clean:
$(MKLATEX) -CA
rm -f $(PDFNAME).pdf *.{aux,bbl,bcf,blg,cb,fdb_latexmk,fls,lof,log,lot,out,run.xml,rel,synctex.gz,toc}
Loading