-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
52 lines (42 loc) · 1.26 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
# A Makefile for building TeX documents and the Cornell thesis document class
#
include commondefs
DOC = sampleThesis
OUTPUTTYPE = pdf
TARGETS = cornell.cls cornell.$(OUTPUTTYPE) $(DOC).$(OUTPUTTYPE)
all: $(TARGETS)
# These following rules are a little crude but should work
cornell.cls: cornell.dtx
latex cornell.ins
cornell.dvi: cornell.dtx
latex cornell.dtx
latex cornell.dtx
cornell.pdf: cornell.dvi
pdflatex cornell.dtx
LDIRT = cornell.aux cornell.glo cornell.idx cornell.log
TEXS = $(DOC).tex cornell.cls
FIGS =
#
# List of postscript figures to be included
PDFFIGS = $(FIGS:.eps=.pdf)
BIBFILE = $(DOC).bib
#
# Ignore this if you're not using bibtex. Change the $(DOC) part if your bib
# file has a different name from your document
$(DOC).dvi: $(TEXS) $(FIGS) $(DOC).stamp $(DOC).bbl $(BIBFILE)
$(DOC).pdf: $(TEXS) $(PDFFIGS) $(DOC).stamp $(DOC).bbl $(BIBFILE)
#
# To use bibtex, add these to dependency list:
# $(DOC).bbl $(BIBFILE)
#
# To use makeindex, add this to dependency list:
# $(DOC).ind
#
# To use glossaries, add this to dependency list:
# $(DOC).glo
$(DOC).bbl: $(BIBFILE) $(DOC).stamp
$(DOC).glo $(DOC).ind: $(DOC).stamp
$(DOC).ps: $(DOC).dvi $(FIGS)
#
# These are standard dependencies. Shouldn't need to modify these.
include $(COMMONRULES)