|
|
@@ -4,14 +4,13 @@ PDFLATEX_FLAGS = -halt-on-error -interaction=nonstopmode \
|
|
|
|
|
|
.PHONY: docs
|
|
|
|
|
|
-docs: $(b)proposal.pdf $(b)presentation.pdf $(b)$(REPORT).pdf
|
|
|
+docs: $(b)proposal.pdf $(b)presentation.pdf $(b)$(REPORT).pdf $(b)$(REPORT).bbl
|
|
|
|
|
|
$(b)%.pdf: $(d)%.tex
|
|
|
mkdir -p `dirname $@`
|
|
|
TEXINPUTS=$(d): pdflatex ${PDFLATEX_FLAGS} $^
|
|
|
|
|
|
-$(b)$(REPORT).bbl: $(d)$(REPORT).tex $(d)$(REPORT).bib
|
|
|
- pdflatex ${PDFLATEX_FLAGS} $(d)$(REPORT).tex
|
|
|
+$(b)$(REPORT).bbl: $(d)$(REPORT).bib
|
|
|
BIBINPUTS=$(d) bibtex8 ${@:.bbl=.aux}
|
|
|
pdflatex ${PDFLATEX_FLAGS} $(d)$(REPORT).tex
|
|
|
pdflatex ${PDFLATEX_FLAGS} $(d)$(REPORT).tex
|