blob: 9cae7c02285526ff14a54c2e7277dcd930e4c1bb (
plain)
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
|
LATEX= latex
DVIPS= dvips
TEXPREVIEW= texsgi
PRINT= lpr
TBL= tbl
TROFF= ditroff
MS= -ms
FUNNYTAB= $$HOME/lib/funnytab
PREVIEW= dpv -Pfa -f $(FUNNYTAB)
PSDIT= psdit
REFER= refer
PROCESS= $(REFER) -e -n $*.ms | $(TBL) | $(TROFF) $(MS)
tut: tut.dvi
$(TEXPREVIEW) tut
tut.dvi: tut.tex tut.toc
mod: mod.dvi
$(TEXPREVIEW) mod
mod.dvi: mod.tex mod.toc
ALL= tut.ps mod.ps
all: $(ALL)
print: $(ALL)
$(PRINT) $(ALL)
$(ALL): mystyle.sty
clean:
rm -f *.dit *.ps core @* ,*
.SUFFIXES: # Remove default suffixes
.SUFFIXES: .ms .dit .tex .aux .toc .dvi .ps
.tex.aux:
$(LATEX) $*
.tex.toc:
$(LATEX) $*
.tex.dvi:
$(LATEX) $*
.dvi.ps:
$(DVIPS) $* >$*.ps
.tex.ps:
$(LATEX) $*
$(DVIPS) $* >$*.ps
.ms.dit:
$(PROCESS) >$@
.dit.ps:
$(PSDIT) <$*.dit >$@
.ms.ps:
$(PROCESS) | $(PSDIT) >$@
|