Plan 9 from Bell Labs’s /usr/web/sources/contrib/rsc/man/mkfile

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


# 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

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.