/
Makefile
54 lines (38 loc) · 959 Bytes
/
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
#
# uclathes Makefile
# Copyright (C) 1995 by John Heidemann, <johnh@isi.edu>
#
FILES=README \
demo.tex demo.dvi demo.pdf \
demo_techreport.tex demo_techreport.pdf \
thesis_spec.tex thesis_spec.pdf \
uclathes.cls uclath12.clo uclathti.clo uclathma.clo \
uclathes.bst Makefile
all: latex ps pdf
tar: $(FILES)
tar cvf uclathes.tar $(FILES)
tar.gz:
@echo "Make all before doing make tar.gz"
tar czvf uclathes.tar.gz $(FILES)
DVIPS=dvips
PS2PDF=ps2pdf14
latex latex.demo::
latex demo
ps demo.ps::
$(DVIPS) demo
pdf demo.pdf::
$(PS2PDF) demo.ps demo.pdf
latex latex.demo_techreport::
latex demo_techreport
ps demo_techreport.ps::
$(DVIPS) demo_techreport
pdf demo_techreport.pdf::
$(PS2PDF) demo_techreport.ps demo_techreport.pdf
latex latex.thesis_spec::
latex thesis_spec
ps thesis_spec.ps::
$(DVIPS) thesis_spec
pdf thesis_spec.pdf::
$(PS2PDF) thesis_spec.ps thesis_spec.pdf
clean:
rm *.aux *.toc *.lot *.lof *.dvi *.log *.ps