cpython/Doc/Makefile

66 lines
825 B
Makefile
Raw Normal View History

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