diff options
author | Karl Berry <karl@freefriends.org> | 2017-12-03 22:18:07 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-12-03 22:18:07 +0000 |
commit | 7ce31410d12b842b9c2e0ef079bab8d7191eeb76 (patch) | |
tree | a4db180a11af70df6cdc20f2383dd2fc4fb9271c /Master/texmf-dist/doc/latex/thuthesis/Makefile | |
parent | cde3e211202b8db560c86ff3ebc5f22cdf2271da (diff) |
thuthesis (3dec17)
git-svn-id: svn://tug.org/texlive/trunk@45976 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/thuthesis/Makefile')
-rw-r--r-- | Master/texmf-dist/doc/latex/thuthesis/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/Master/texmf-dist/doc/latex/thuthesis/Makefile b/Master/texmf-dist/doc/latex/thuthesis/Makefile index aecc2c7b414..ec0fc5362a6 100644 --- a/Master/texmf-dist/doc/latex/thuthesis/Makefile +++ b/Master/texmf-dist/doc/latex/thuthesis/Makefile @@ -3,7 +3,7 @@ # Compiling method: latexmk/xelatex/pdflatex METHOD = latexmk # Set opts for latexmk if you use it -LATEXMKOPTS = -xelatex +LATEXMKOPTS = -xelatex -halt-on-error -interaction=nonstopmode # Basename of thesis THESISMAIN = main # Basename of shuji @@ -15,6 +15,7 @@ THESISCONTENTS=$(THESISMAIN).tex data/*.tex $(FIGURES) # NOTE: update this to reflect your local file types. FIGURES=$(wildcard figures/*.eps figures/*.pdf) BIBFILE=ref/*.bib +BSTFILE=bst/*.bst SHUJICONTENTS=$(SHUJIMAIN).tex CLSFILES=dtx-style.sty $(PACKAGE).cls $(PACKAGE).cfg @@ -53,10 +54,10 @@ shuji: $(SHUJIMAIN).pdf ifeq ($(METHOD),latexmk) -$(PACKAGE).pdf: $(CLSFILES) FORCE_MAKE +$(PACKAGE).pdf: $(CLSFILES) $(THESISMAIN).tex FORCE_MAKE $(METHOD) $(LATEXMKOPTS) $(PACKAGE).dtx -$(THESISMAIN).pdf: $(CLSFILES) FORCE_MAKE +$(THESISMAIN).pdf: $(CLSFILES) $(BSTFILE) FORCE_MAKE $(METHOD) $(LATEXMKOPTS) $(THESISMAIN) $(SHUJIMAIN).pdf: $(CLSFILES) FORCE_MAKE @@ -64,7 +65,7 @@ $(SHUJIMAIN).pdf: $(CLSFILES) FORCE_MAKE else ifneq (,$(filter $(METHOD),xelatex pdflatex)) -$(PACKAGE).pdf: $(CLSFILES) +$(PACKAGE).pdf: $(CLSFILES) $(THESISMAIN).tex $(METHOD) $(PACKAGE).dtx makeindex -s gind.ist -o $(PACKAGE).ind $(PACKAGE).idx makeindex -s gglo.ist -o $(PACKAGE).gls $(PACKAGE).glo @@ -75,7 +76,7 @@ $(THESISMAIN).pdf: $(CLSFILES) $(THESISCONTENTS) $(THESISMAIN).bbl $(METHOD) $(THESISMAIN) $(METHOD) $(THESISMAIN) -$(THESISMAIN).bbl: $(BIBFILE) +$(THESISMAIN).bbl: $(BIBFILE) $(BSTFILE) $(METHOD) $(THESISMAIN) -bibtex $(THESISMAIN) $(RM) $(THESISMAIN).pdf @@ -100,7 +101,7 @@ distclean: cleanall -@$(RM) -r dist check: FORCE_MAKE - ag 'Tsinghua University Thesis Template|\\def\\version|"version":' thuthesis.dtx package.json + @ag 'Tsinghua University Thesis Template|\\def\\version|"version":' thuthesis.dtx package.json dist: all @if [ -z "$(version)" ]; then \ |