0
0
mirror of https://github.com/python/cpython.git synced 2024-11-24 17:47:13 +01:00
cpython/Doc/Makefile

32 lines
408 B
Makefile

TBL= tbl
TROFF= ditroff
MS= -ms
FUNNYTAB= $$HOME/lib/funnytab
PREVIEW= dpv -f $(FUNNYTAB)
tut: tut.dit
$(PREVIEW) tut.dit
mod: mod.dit
$(PREVIEW) mod.dit
paper: paper.dit
$(PREVIEW) paper.dit
ref: ref.dit
$(PREVIEW) ref.dit
ALL= tut.dit mod.dit paper.dit ref.dit
all: $(ALL)
$(ALL): macros.ms
clean:
rm -f $(ALL)
.SUFFIXES: .ms .dit
.ms.dit:
$(TBL) $*.ms | $(TROFF) $(MS) >$@