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