Major change for compilation with GNU Make
[agdavaarregn.git] / trimguide / Makefile
blobe202d6fc7035cf6add04dc4045762660f0556bfe
1 SHELL=/bin/bash
3 trimguide.pdf: trimguide.tex ../preamble/preamble.tex
4 pdflatex trimguide.tex
5 latex_count=5 ; \
6 while egrep -s 'Rerun (LaTeX|to get cross-references right)' trimguide.log && [ $$latex_count -gt 0 ] ;\
7 do echo "Rerunning latex...." ; pdflatex trimguide.tex; latex_count=`expr $$latex_count - 1`; done
9 clean:
10 rm -f *.{log,aux,dvi,log,out,pdf}
11 rm -f *~