Procházet zdrojové kódy

Tweaked docs make rules.

Taddeus Kroes před 13 roky
rodič
revize
4086fa7c76
1 změnil soubory, kde provedl 5 přidání a 5 odebrání
  1. 5 5
      docs/rules.mk

+ 5 - 5
docs/rules.mk

@@ -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)