Эх сурвалжийг харах

Reset old make rules because the new ones didn't work too well.

Taddeus Kroes 13 жил өмнө
parent
commit
60e177f38a
1 өөрчлөгдсөн 4 нэмэгдсэн , 4 устгасан
  1. 4 4
      docs/rules.mk

+ 4 - 4
docs/rules.mk

@@ -8,7 +8,7 @@ REF_WARNING := "Rerun to get cross-references right"
 
 
 docs: report $(b)proposal.pdf $(b)presentation.pdf
 docs: report $(b)proposal.pdf $(b)presentation.pdf
 
 
-report: $(b)$(REPORT).pdf $(b)$(REPORT).bbl
+report:  $(b)$(REPORT).pdf $(b)$(REPORT).bbl
 
 
 $(b)%.pdf: $(d)%.tex
 $(b)%.pdf: $(d)%.tex
 	mkdir -p $(@D)
 	mkdir -p $(@D)
@@ -18,9 +18,9 @@ $(b)%.pdf: $(d)%.tex
 		$(LATEX) $^; \
 		$(LATEX) $^; \
 	done
 	done
 
 
-$(b)$(REPORT).pdf: $(d)$(DIAGRAMS).tex $(b)$(REPORT).bbl
+$(b)$(REPORT).pdf: $(d)$(DIAGRAMS).tex
 
 
 $(b)$(REPORT).bbl: $(d)$(REPORT).bib
 $(b)$(REPORT).bbl: $(d)$(REPORT).bib
 	BIBINPUTS=$(d) bibtex8 $(@:.bbl=.aux)
 	BIBINPUTS=$(d) bibtex8 $(@:.bbl=.aux)
-	$(LATEX) $(d)$(REPORT).tex
-	$(LATEX) $(d)$(REPORT).tex
+	$(LATEX) $(^:.bib=.tex)
+	$(LATEX) $(^:.bib=.tex)