1991-01-25 14:29:04 +01:00
|
|
|
# Makefile for Python documentation.
|
|
|
|
|
1991-01-22 12:47:14 +01:00
|
|
|
LATEX= latex
|
|
|
|
DVIPS= dvips
|
1991-01-25 14:29:04 +01:00
|
|
|
TEXPREVIEW= xdvi
|
1991-01-22 12:47:14 +01:00
|
|
|
|
|
|
|
PRINT= lpr
|
|
|
|
|
|
|
|
tut: tut.dvi
|
|
|
|
$(TEXPREVIEW) tut
|
1990-08-09 16:25:15 +02:00
|
|
|
|
1991-01-25 14:29:04 +01:00
|
|
|
tut.dvi tut.ps: tut.toc tut.tex myformat.sty
|
1990-08-09 16:25:15 +02:00
|
|
|
|
1991-01-22 12:47:14 +01:00
|
|
|
mod: mod.dvi
|
|
|
|
$(TEXPREVIEW) mod
|
1990-08-09 16:25:15 +02:00
|
|
|
|
1991-01-25 14:29:04 +01:00
|
|
|
mod.dvi mod.ps: mod.toc mod.tex myformat.sty
|
1990-08-09 16:25:15 +02:00
|
|
|
|
1991-01-22 12:47:14 +01:00
|
|
|
ALL= tut.ps mod.ps
|
1990-08-09 16:25:15 +02:00
|
|
|
|
|
|
|
all: $(ALL)
|
|
|
|
|
1991-01-22 12:47:14 +01:00
|
|
|
print: $(ALL)
|
|
|
|
$(PRINT) $(ALL)
|
|
|
|
|
1990-08-09 16:25:15 +02:00
|
|
|
clean:
|
1991-01-25 14:29:04 +01:00
|
|
|
rm -f *.dvi *.aux *.toc *.log *.ps core @* ,*
|
1990-08-09 16:25:15 +02:00
|
|
|
|
1990-10-07 13:35:21 +01:00
|
|
|
.SUFFIXES: # Remove default suffixes
|
|
|
|
|
1991-01-25 14:29:04 +01:00
|
|
|
.SUFFIXES: .tex .aux .toc .dvi .ps
|
1991-01-22 12:47:14 +01:00
|
|
|
|
|
|
|
.tex.aux:
|
|
|
|
$(LATEX) $*
|
|
|
|
|
|
|
|
.tex.toc:
|
|
|
|
$(LATEX) $*
|
|
|
|
|
|
|
|
.tex.dvi:
|
|
|
|
$(LATEX) $*
|
|
|
|
|
|
|
|
.dvi.ps:
|
|
|
|
$(DVIPS) $* >$*.ps
|
|
|
|
|
|
|
|
.tex.ps:
|
|
|
|
$(LATEX) $*
|
|
|
|
$(DVIPS) $* >$*.ps
|