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

Change default output format to pdf.

o Change default target to generate pdf file
o Update rerun loop with a better pattern that is less likely to cause
  an infinite loop.
parent bf9e40aa
No related branches found
No related tags found
No related merge requests found
...@@ -18,7 +18,7 @@ FILES=architecture.tex back.tex compiler-overview.tex compiler.tex debugger.tex ...@@ -18,7 +18,7 @@ FILES=architecture.tex back.tex compiler-overview.tex compiler.tex debugger.tex
FIGURES= FIGURES=
all : $(MASTERFILE).dvi all : $(MASTERFILE).pdf
$(MASTERFILE).dvi : $(FILES) $(FIGURES) $(MASTERFILE).dvi : $(FILES) $(FIGURES)
$(LATEX) $(MASTERFILE).tex $(LATEX) $(MASTERFILE).tex
...@@ -52,7 +52,7 @@ firsttime: $(MASTERFILE).dvi ...@@ -52,7 +52,7 @@ firsttime: $(MASTERFILE).dvi
%.pdf : %.tex %.pdf : %.tex
$(PDFLATEX) $^ $(PDFLATEX) $^
@while ( grep -v 'Package: rerunfilecheck' $*.log | grep Rerun > /dev/null ); do \ @while ( grep 'Rerun to get cross' $*.log > /dev/null ); do \
$(PDFLATEX) $<; \ $(PDFLATEX) $<; \
done done
$(PDFLATEX) $< $(PDFLATEX) $<
......
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