0
0
mirror of https://github.com/python/cpython.git synced 2024-12-01 11:15:56 +01:00
cpython/Doc/Makefile

66 lines
825 B
Makefile
Raw Normal View History

1991-01-22 12:47:14 +01:00
LATEX= latex
DVIPS= dvips
TEXPREVIEW= texsgi
PRINT= lpr
TBL= tbl
1990-08-09 16:25:15 +02:00
TROFF= ditroff
MS= -ms
FUNNYTAB= $$HOME/lib/funnytab
1991-01-22 12:47:14 +01:00
PREVIEW= dpv -Pfa -f $(FUNNYTAB)
PSDIT= psdit
1991-01-22 12:47:14 +01:00
REFER= refer
PROCESS= $(REFER) -e -n $*.ms | $(TBL) | $(TROFF) $(MS)
1990-08-09 16:25:15 +02:00
1991-01-22 12:47:14 +01:00
tut: tut.dvi
$(TEXPREVIEW) tut
1990-08-09 16:25:15 +02:00
1991-01-22 12:47:14 +01:00
tut.dvi: tut.tex tut.toc
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-22 12:47:14 +01:00
mod.dvi: mod.tex mod.toc
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)
$(ALL): mystyle.sty
1990-08-09 16:25:15 +02:00
clean:
1991-01-22 12:47:14 +01:00
rm -f *.dit *.ps core @* ,*
1990-08-09 16:25:15 +02:00
.SUFFIXES: # Remove default suffixes
1991-01-22 12:47:14 +01:00
.SUFFIXES: .ms .dit .tex .aux .toc .dvi .ps
.tex.aux:
$(LATEX) $*
.tex.toc:
$(LATEX) $*
.tex.dvi:
$(LATEX) $*
.dvi.ps:
$(DVIPS) $* >$*.ps
.tex.ps:
$(LATEX) $*
$(DVIPS) $* >$*.ps
1990-08-09 16:25:15 +02:00
.ms.dit:
1991-01-22 12:47:14 +01:00
$(PROCESS) >$@
.dit.ps:
$(PSDIT) <$*.dit >$@
.ms.ps:
1991-01-22 12:47:14 +01:00
$(PROCESS) | $(PSDIT) >$@