Skip to content
Snippets Groups Projects
Commit e7d0e700 authored by Raymond Toy's avatar Raymond Toy
Browse files

Update rules for pdf and dvi to run latex enough times. Taken from

cmu-user/Makefile.
parent 1dc1c331
No related branches found
No related tags found
No related merge requests found
......@@ -41,12 +41,21 @@ firsttime: $(MASTERFILE).dvi
%.dvi : %.tex
$(LATEX) $<
@while ( grep Rerun $*.log > /dev/null ); do \
$(LATEX) $<; \
done
$(LATEX) $<
%.eps : %.fig
fig2dev -L ps $^ $@
%.pdf : %.tex
$(PDFLATEX) $^
@while ( grep -v 'Package: rerunfilecheck' $*.log | grep Rerun > /dev/null ); do \
$(PDFLATEX) $<; \
done
$(PDFLATEX) $<
%.ps : %.dvi
$(DVIPS) $(DVIPSOPTS) -o $@ $*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment