mirror of
https://github.com/python/cpython.git
synced 2024-11-25 09:39:56 +01:00
20aca5aa39
Changed dependencies somewhat.
48 lines
608 B
Makefile
48 lines
608 B
Makefile
# 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
|