cpython/Doc/Makefile

41 lines
569 B
Makefile
Raw Normal View History

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