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