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