Guido van Rossum | b3fa13c | 1991-01-22 11:47:14 +0000 | [diff] [blame^] | 1 | LATEX= latex |
2 | DVIPS= dvips | ||||
3 | TEXPREVIEW= texsgi | ||||
4 | |||||
5 | PRINT= lpr | ||||
6 | |||||
Guido van Rossum | b829a09 | 1990-09-18 10:47:40 +0000 | [diff] [blame] | 7 | TBL= tbl |
Guido van Rossum | 7f777ed | 1990-08-09 14:25:15 +0000 | [diff] [blame] | 8 | TROFF= ditroff |
9 | MS= -ms | ||||
Guido van Rossum | b829a09 | 1990-09-18 10:47:40 +0000 | [diff] [blame] | 10 | FUNNYTAB= $$HOME/lib/funnytab |
Guido van Rossum | b3fa13c | 1991-01-22 11:47:14 +0000 | [diff] [blame^] | 11 | PREVIEW= dpv -Pfa -f $(FUNNYTAB) |
Guido van Rossum | eeaccbf | 1990-10-07 12:35:21 +0000 | [diff] [blame] | 12 | PSDIT= psdit |
Guido van Rossum | b3fa13c | 1991-01-22 11:47:14 +0000 | [diff] [blame^] | 13 | REFER= refer |
14 | PROCESS= $(REFER) -e -n $*.ms | $(TBL) | $(TROFF) $(MS) | ||||
Guido van Rossum | 7f777ed | 1990-08-09 14:25:15 +0000 | [diff] [blame] | 15 | |
Guido van Rossum | b3fa13c | 1991-01-22 11:47:14 +0000 | [diff] [blame^] | 16 | tut: tut.dvi |
17 | $(TEXPREVIEW) tut | ||||
Guido van Rossum | 7f777ed | 1990-08-09 14:25:15 +0000 | [diff] [blame] | 18 | |
Guido van Rossum | b3fa13c | 1991-01-22 11:47:14 +0000 | [diff] [blame^] | 19 | tut.dvi: tut.tex tut.toc |
Guido van Rossum | 7f777ed | 1990-08-09 14:25:15 +0000 | [diff] [blame] | 20 | |
Guido van Rossum | b3fa13c | 1991-01-22 11:47:14 +0000 | [diff] [blame^] | 21 | mod: mod.dvi |
22 | $(TEXPREVIEW) mod | ||||
Guido van Rossum | 7f777ed | 1990-08-09 14:25:15 +0000 | [diff] [blame] | 23 | |
Guido van Rossum | b3fa13c | 1991-01-22 11:47:14 +0000 | [diff] [blame^] | 24 | mod.dvi: mod.tex mod.toc |
Guido van Rossum | 7f777ed | 1990-08-09 14:25:15 +0000 | [diff] [blame] | 25 | |
Guido van Rossum | b3fa13c | 1991-01-22 11:47:14 +0000 | [diff] [blame^] | 26 | ALL= tut.ps mod.ps |
Guido van Rossum | 7f777ed | 1990-08-09 14:25:15 +0000 | [diff] [blame] | 27 | |
28 | all: $(ALL) | ||||
29 | |||||
Guido van Rossum | b3fa13c | 1991-01-22 11:47:14 +0000 | [diff] [blame^] | 30 | print: $(ALL) |
31 | $(PRINT) $(ALL) | ||||
32 | |||||
33 | $(ALL): mystyle.sty | ||||
Guido van Rossum | 7f777ed | 1990-08-09 14:25:15 +0000 | [diff] [blame] | 34 | |
35 | clean: | ||||
Guido van Rossum | b3fa13c | 1991-01-22 11:47:14 +0000 | [diff] [blame^] | 36 | rm -f *.dit *.ps core @* ,* |
Guido van Rossum | 7f777ed | 1990-08-09 14:25:15 +0000 | [diff] [blame] | 37 | |
Guido van Rossum | eeaccbf | 1990-10-07 12:35:21 +0000 | [diff] [blame] | 38 | .SUFFIXES: # Remove default suffixes |
39 | |||||
Guido van Rossum | b3fa13c | 1991-01-22 11:47:14 +0000 | [diff] [blame^] | 40 | .SUFFIXES: .ms .dit .tex .aux .toc .dvi .ps |
41 | |||||
42 | .tex.aux: | ||||
43 | $(LATEX) $* | ||||
44 | |||||
45 | .tex.toc: | ||||
46 | $(LATEX) $* | ||||
47 | |||||
48 | .tex.dvi: | ||||
49 | $(LATEX) $* | ||||
50 | |||||
51 | .dvi.ps: | ||||
52 | $(DVIPS) $* >$*.ps | ||||
53 | |||||
54 | .tex.ps: | ||||
55 | $(LATEX) $* | ||||
56 | $(DVIPS) $* >$*.ps | ||||
Guido van Rossum | 7f777ed | 1990-08-09 14:25:15 +0000 | [diff] [blame] | 57 | |
58 | .ms.dit: | ||||
Guido van Rossum | b3fa13c | 1991-01-22 11:47:14 +0000 | [diff] [blame^] | 59 | $(PROCESS) >$@ |
Guido van Rossum | eeaccbf | 1990-10-07 12:35:21 +0000 | [diff] [blame] | 60 | |
61 | .dit.ps: | ||||
62 | $(PSDIT) <$*.dit >$@ | ||||
63 | |||||
64 | .ms.ps: | ||||
Guido van Rossum | b3fa13c | 1991-01-22 11:47:14 +0000 | [diff] [blame^] | 65 | $(PROCESS) | $(PSDIT) >$@ |