diff options
Diffstat (limited to 'report/Makefile')
-rw-r--r-- | report/Makefile | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/report/Makefile b/report/Makefile index 6b58488..2b1a083 100644 --- a/report/Makefile +++ b/report/Makefile @@ -10,8 +10,9 @@ # <https://creativecommons.org/publicdomain/zero/1.0/> PDF = combox-report.pdf -REPORT = combox.tex -REPORT_INCLUDES = graphs/*.tex chapters/*.tex +REPORT_TEX = combox.tex +REPORT_AUX = combox.aux +REPORT_INCLUDES = graphs/*.tex chapters/*.tex bib/combox.bib DVI = combox.dvi all: $(PDF) @@ -20,8 +21,11 @@ all: $(PDF) $(PDF): $(DVI) @dvipdf $< $@ -$(DVI): $(REPORT) $(REPORT_INCLUDES) - @latex $<; latex $<; latex $< +$(DVI): $(REPORT_TEX) $(REPORT_INCLUDES) + @latex $< + @bibtex $(REPORT_AUX) + @latex $< + @latex $< clean: rm -f $(PDF) *.aux *.dvi *.log *~ |