# mkfile for `how to write a man page' variants
MKSHELL=rc
TROFF=troff
LP=dpost -f | lp # ps4
all:V: 9man.tut.ps
9man.tut.ps: 9man.tut.t raw.src.9.t app.src.9.t raw.pipe.9.t app.pipe.9.t
cat $prereq | aux/tr2post >$target
raw.%.t: %.fmt src2
$TROFF $stem.fmt >$target
app.%.t: %
$TROFF -man $prereq >$target
aux/tr2post $target >/dev/null
9man.tut.t: 9man.tut
$TROFF -ms $prereq >$target
paper:V: 9man.tut.ps
$LP $prereq
clean:V:
rm -f *.t 9man.tut.ps
# rm -f man.page.tut.1.cat man.page.tut.1.nam
|