YangLaTeX / hitszthesis

A dissertation template for Harbin Institute of Technology, ShenZhen (HITSZ), including bachelor, master and doctor dissertations.
https://yanglatex.github.io/hitszthesis/
LaTeX Project Public License v1.3c
245 stars 40 forks source link

hitszthesis.bbl只在reference.bib被修改时才重新生成 #19

Closed lcp29 closed 7 months ago

lcp29 commented 7 months ago

The following patch should work.

--- a/Makefile
+++ b/Makefile
@@ -84,7 +84,7 @@ $(THESISMAIN).pdf: $(CLSFILES) $(THESISCONTENTS) $(THESISMAIN)_china.ind $(THESI
    splitindex $(THESISMAIN) -- -s $(PACKAGE).ist
    $(LATEXCMD) $(THESISMAIN)

-$(THESISMAIN).bbl: $(BIBFILE)
+$(THESISMAIN).bbl: $(BIBFILE) $(THESISCONTENTS)
    $(LATEXCMD) $(THESISMAIN)
    -bibtex $(THESISMAIN)
    $(RM) $(THESISMAIN).pdf