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

41 lines
569 B
Makefile
Raw Normal View History

TBL= tbl
1990-08-09 16:25:15 +02:00
TROFF= ditroff
MS= -ms
FUNNYTAB= $$HOME/lib/funnytab
PREVIEW= dpv -f $(FUNNYTAB)
PSDIT= psdit
1990-08-09 16:25:15 +02:00
tut: tut.dit
$(PREVIEW) tut.dit
1990-08-09 16:25:15 +02:00
mod: mod.dit
$(PREVIEW) mod.dit
1990-08-09 16:25:15 +02:00
paper: paper.dit
$(PREVIEW) paper.dit
ref: ref.dit
$(PREVIEW) ref.dit
ALL= tut.dit mod.dit paper.dit ref.dit
1990-08-09 16:25:15 +02:00
all: $(ALL)
$(ALL): macros.ms
clean:
rm -f *.dit *.ps core @* ,*
1990-08-09 16:25:15 +02:00
.SUFFIXES: # Remove default suffixes
.SUFFIXES: .ms .dit .ps
1990-08-09 16:25:15 +02:00
.ms.dit:
$(TBL) $*.ms | $(TROFF) $(MS) >$@
.dit.ps:
$(PSDIT) <$*.dit >$@
.ms.ps:
$(TBL) $*.ms | $(TROFF) $(MS) | $(PSDIT) >$@