Commit 4e13a73f authored by Taddeüs Kroes's avatar Taddeüs Kroes

Fixed docs make rules again.

parent d658e5b9
...@@ -4,14 +4,13 @@ PDFLATEX_FLAGS = -halt-on-error -interaction=nonstopmode \ ...@@ -4,14 +4,13 @@ PDFLATEX_FLAGS = -halt-on-error -interaction=nonstopmode \
.PHONY: docs .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 $(b)%.pdf: $(d)%.tex
mkdir -p `dirname $@` mkdir -p `dirname $@`
TEXINPUTS=$(d): pdflatex ${PDFLATEX_FLAGS} $^ TEXINPUTS=$(d): pdflatex ${PDFLATEX_FLAGS} $^
$(b)$(REPORT).bbl: $(d)$(REPORT).tex $(d)$(REPORT).bib $(b)$(REPORT).bbl: $(d)$(REPORT).bib
pdflatex ${PDFLATEX_FLAGS} $(d)$(REPORT).tex
BIBINPUTS=$(d) bibtex8 ${@:.bbl=.aux} BIBINPUTS=$(d) bibtex8 ${@:.bbl=.aux}
pdflatex ${PDFLATEX_FLAGS} $(d)$(REPORT).tex pdflatex ${PDFLATEX_FLAGS} $(d)$(REPORT).tex
pdflatex ${PDFLATEX_FLAGS} $(d)$(REPORT).tex pdflatex ${PDFLATEX_FLAGS} $(d)$(REPORT).tex
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment