|
|
@@ -1,8 +1,7 @@
|
|
|
REPORT := report
|
|
|
DIAGRAMS := data/diagrams
|
|
|
-PDFLATEX_FLAGS = -halt-on-error -interaction=nonstopmode \
|
|
|
+LATEX = TEXINPUTS=$(d):$(b): pdflatex -halt-on-error -interaction=nonstopmode \
|
|
|
-output-directory $(@D) -shell-escape
|
|
|
-LATEX = TEXINPUTS=$(d):$(b): pdflatex $(PDFLATEX_FLAGS)
|
|
|
REF_WARNING := "Rerun to get cross-references right"
|
|
|
|
|
|
.PHONY: docs report
|
|
|
@@ -22,6 +21,6 @@ $(b)%.pdf: $(d)%.tex
|
|
|
$(b)$(REPORT).pdf: $(d)$(DIAGRAMS).tex
|
|
|
|
|
|
$(b)$(REPORT).bbl: $(d)$(REPORT).bib
|
|
|
- BIBINPUTS=$(d) bibtex8 ${@:.bbl=.aux}
|
|
|
+ BIBINPUTS=$(d) bibtex8 $(@:.bbl=.aux)
|
|
|
$(LATEX) $(d)$(REPORT).tex
|
|
|
$(LATEX) $(d)$(REPORT).tex
|