summaryrefslogtreecommitdiffstats
path: root/Doc/Makefile
blob: 486b384f3b23de29189576dbdbe1ec47e37571b4 (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
# Makefile for Python documentation.

LATEX=		latex
DVIPS=		dvips
TEXPREVIEW=	xdvi

PRINT=		lpr

tut:		tut.dvi
		$(TEXPREVIEW) tut

tut.dvi tut.ps:	tut.toc tut.tex myformat.sty

mod:		mod.dvi
		$(TEXPREVIEW) mod

mod.dvi mod.ps:	mod.toc mod.tex myformat.sty

ALL=		tut.ps mod.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