blob: 31834d5485116beb973d5f577dd4b0b38d5ef3c5 (
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
|
# Makefile for Python documentation.
# Actually, it is easier to just do:
# latex tut
# latex tut
# latex lib
# latex lib
# (Doing everything twice so the table of contents comes out right!)
LATEX= latex
DVIPS= dvips
TEXPREVIEW= xdvi
PRINT= lpr
tut: tut.dvi
$(TEXPREVIEW) tut
tut.dvi tut.ps: tut.toc tut.tex myformat.sty
lib: lib.dvi
$(TEXPREVIEW) lib
lib.dvi lib.ps: lib.toc lib.tex lib1.tex lib2.tex lib3.tex myformat.sty
ALL= tut.ps lib.ps
all: $(ALL)
print: $(ALL)
$(PRINT) $(ALL)
clean:
rm -f *.dvi *.aux *.toc *.log *.ps core [#@,]* *~
.SUFFIXES: # Remove default suffixes
.SUFFIXES: .tex .aux .toc .dvi .ps
.tex.aux:
$(LATEX) $*
.tex.toc:
$(LATEX) $*
.tex.dvi:
$(LATEX) $*
.dvi.ps:
$(DVIPS) $* >$*.ps
.tex.ps:
$(LATEX) $*
$(DVIPS) $* >$*.ps
|