Skip to content
Snippets Groups Projects
Commit 4086fa7c authored by Taddeüs Kroes's avatar Taddeüs Kroes
Browse files

Tweaked docs make rules.

parent d004e022
No related branches found
No related tags found
No related merge requests found
......@@ -4,11 +4,9 @@ LATEX = TEXINPUTS=$(d):$(b): pdflatex -halt-on-error -interaction=nonstopmode \
-output-directory $(@D) -shell-escape
REF_WARNING := "Rerun to get cross-references right"
.PHONY: docs report bibclean
.PHONY: docs bibclean
docs: report $(b)proposal.pdf $(b)presentation.pdf
report: $(b)$(REPORT).pdf $(b)$(REPORT).bbl
docs: $(b)$(REPORT).pdf $(b)proposal.pdf $(b)presentation.pdf
$(b)%.pdf: $(d)%.tex
mkdir -p $(@D)
......@@ -18,9 +16,11 @@ $(b)%.pdf: $(d)%.tex
$(LATEX) $^; \
done
$(b)$(REPORT).pdf: $(d)$(DIAGRAMS).tex
$(b)$(REPORT).pdf: $(d)$(DIAGRAMS).tex $(b)$(REPORT).bbl
$(b)$(REPORT).bbl: $(d)$(REPORT).bib
mkdir -p $(@D)
$(LATEX) $(^:.bib=.tex)
BIBINPUTS=$(d) bibtex8 $(@:.bbl=.aux)
$(LATEX) $(^:.bib=.tex)
$(LATEX) $(^:.bib=.tex)
......
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