cpython/Doc/Makefile

61 lines
905 B
Makefile
Raw Normal View History

# Makefile for Python documentation.
1991-11-12 15:39:56 +00:00
# Actually, it is easier to just do:
# latex tut
# latex tut
# latex lib
# latex lib
1991-11-21 13:54:36 +00:00
# latex ref
# latex ref
1991-11-12 15:39:56 +00:00
# (Doing everything twice so the table of contents comes out right!)
1991-01-22 11:47:14 +00:00
LATEX= latex
DVIPS= dvips
TEXPREVIEW= xdvi
1991-01-22 11:47:14 +00:00
PRINT= lpr
1991-11-21 13:54:36 +00:00
ALL= tut.ps lib.ps ref.ps
all: $(ALL)
1991-01-22 11:47:14 +00:00
tut: tut.dvi
$(TEXPREVIEW) tut
1990-08-09 14:25:15 +00:00
tut.dvi tut.ps: tut.toc tut.tex myformat.sty
1990-08-09 14:25:15 +00:00
1991-11-12 15:39:56 +00:00
lib: lib.dvi
$(TEXPREVIEW) lib
1990-08-09 14:25:15 +00:00
1991-11-12 15:39:56 +00:00
lib.dvi lib.ps: lib.toc lib.tex lib1.tex lib2.tex lib3.tex myformat.sty
1990-08-09 14:25:15 +00:00
1991-11-21 13:54:36 +00:00
ref: ref.dvi
$(TEXPREVIEW) ref
1990-08-09 14:25:15 +00:00
1991-11-21 13:54:36 +00:00
ref.dvi ref.ps: ref.toc ref.tex myformat.sty
1990-08-09 14:25:15 +00:00
1991-01-22 11:47:14 +00:00
print: $(ALL)
$(PRINT) $(ALL)
1990-08-09 14:25:15 +00:00
clean:
1991-02-19 12:52:33 +00:00
rm -f *.dvi *.aux *.toc *.log *.ps core [#@,]* *~
1990-08-09 14:25:15 +00:00
.SUFFIXES: # Remove default suffixes
.SUFFIXES: .tex .aux .toc .dvi .ps
1991-01-22 11:47:14 +00:00
.tex.aux:
$(LATEX) $*
.tex.toc:
$(LATEX) $*
.tex.dvi:
$(LATEX) $*
.dvi.ps:
$(DVIPS) $* >$*.ps
.tex.ps:
$(LATEX) $*
$(DVIPS) $* >$*.ps