-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
77 lines (59 loc) · 1.95 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#
# Copyright (C) 2007 by Xu Yuan <[email protected]>
# $Id$
#
# This file is part of the SEU-Thesis package project.
# ---------------------------------------------------
#
# This file may be distributed and/or modified under the
# conditions of the LaTeX Project Public License, either version 1.3a
# of this license or (at your option) any later version.
# The latest version of this license is in:
#
# http://www.latex-project.org/lppl.txt
#
# and version 1.3a or later is part of all distributions of LaTeX
# version 2004/10/01 or later.
#
PACKAGE=seuthesis
SRC=${PACKAGE}.ins ${PACKAGE}.dtx
MAIN=main
MAIN_SRC=${MAIN}.tex content/*.tex content/reference.bib
# all: package
# main: main.pdf
# sample: sample.pdf
# package: ${PACKAGE}.pdf
clean:
rm -f *.aux *.log *.toc *.ind *.inx *.gls *.glo *.idx *.ilg *.out *.bak *.bbl *.brf *.blg *.dvi *.ps *.gz
clean_all:
rm -f *.aux *.log *.toc *.ind *.inx *.gls *.glo *.idx *.ilg *.out *.bak *.bbl *.brf *.blg *.dvi *.ps *.gz *.pdf
# distclean: clean
# rm -f *.cls *.cfg
# ${PACKAGE}.cls: ${SRC}
# rm -f ${PACKAGE}.cls ${PACKAGE}-gbk.cfg ${PACKAGE}-utf8.cfg
# latex ${PACKAGE}.ins
# iconv -f utf8 -t gbk ${PACKAGE}-utf8.cfg > ${PACKAGE}-gbk.cfg
# ${PACKAGE}.idx: ${PACKAGE}.dtx
# xelatex ${PACKAGE}.dtx
# ${PACKAGE}.bbl: ${PACKAGE}.dtx ${PACKAGE}.bib
# xelatex ${PACKAGE}.dtx
# bibtex ${PACKAGE}
# ${PACKAGE}.ind: ${PACKAGE}.idx
# makeindex -s gind ${PACKAGE}
# # makeindex -s gglo -o ${PACKAGE}.gls ${PACKAGE}.glo
# ${PACKAGE}.pdf: ${PACKAGE}.dtx ${PACKAGE}.cls ${PACKAGE}.ind ${PACKAGE}.bbl
# xelatex ${PACKAGE}.dtx
# xelatex ${PACKAGE}.dtx
# sample.bbl: seuthesis.bib sample.tex
# xelatex sample
# bibtex sample
# sample.pdf: sample.tex ${PACKAGE}.cls sample.bbl
# xelatex sample
# xelatex sample
# # rules of making main (my thesis)
# main.bbl: main.tex content/reference.bib
# xelatex main
# bibtex -min-crossrefs=9000 main
# main.pdf: ${MAIN_SRC} ${PACKAGE}.cls main.bbl
# xelatex main
# xelatex main