1 Star 1 Fork 0

AKla/南方医科大学学位论文latex模板

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Makefile 1.44 KB
一键复制 编辑 原始数据 按行查看 历史
AKla 提交于 2024-01-29 03:47 . Version 0.0.1
###############################################################################
#
# Makefile for smuthesis
#
# Copyright (C) 2024 Chenzhi Ai,
# Department of Cardiology, Nanfang Hospital, Southern Medical University.
#
# Home Page of the Project: https://www.github.com/Aklari/smuthesis
#
###############################################################################
PACKAGE=smuthesis
BST_FILE=gbt7714-2005.bst
SOURCES=$(PACKAGE).dtx $(PACKAGE).ins
CLS=$(PACKAGE).cls $(PACKAGE).cfg dtx-style.sty
SAMPLE=sample
SAMPLECONTENTS=$(SAMPLE).tex
SAMPLEBIB=$(SAMPLE).bib
INSTITUTE_NAME=smuname.eps
TEXMFLOCAL="/usr/local/texlive/texmf-local"
.PHONY: all clean cls doc sample
all: cls doc sample
###### generate cls/cfg
cls: $(CLS)
$(CLS): $(SOURCES)
xelatex $(PACKAGE).ins
###### generate doc
doc: $(PACKAGE).pdf
$(PACKAGE).pdf: $(CLS)
xelatex $(PACKAGE).dtx
makeindex -s gind.ist -o $(PACKAGE).ind $(PACKAGE).idx
xelatex $(PACKAGE).dtx
xelatex $(PACKAGE).dtx
###### clean
clean:
-@rm -f \
*.aux \
*.bak \
*.bbl \
*.blg \
*.dvi \
*.glo \
*.gls \
*.idx \
*.ilg \
*.ind \
*.ist \
*.log \
*.out \
*.ps \
*.thm \
*.toc \
*.lof \
*.lot \
*.loe \
*.sty \
*.cfg \
*.cls \
*.sty \
*.pdf
###### for sample
sample: $(SAMPLE).pdf
$(SAMPLE).pdf: $(CLS) $(INSTITUTE_LOGO) $(INSTITUTE_NAME) $(BST_FILE) $(SAMPLE).tex $(SAMPLEBIB)
xelatex $(SAMPLE).tex
bibtex $(SAMPLE)
xelatex $(SAMPLE).tex
xelatex $(SAMPLE).tex
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TeX/LaTeX
1
https://gitee.com/a-kla/smuthesis.git
[email protected]:a-kla/smuthesis.git
a-kla
smuthesis
南方医科大学学位论文latex模板
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385