shithub: riscv

ref: 99e2d549e86cbdf4c364a476b8eb008c8fcff6ec
dir: /sys/doc/net/mkfile/

View raw version
</sys/doc/fonts

DEPS	=	net.ms\
		tree.pout

net.ps:D:	$DEPS
	{ echo $FONTS; cat net.ms } | tbl | troff -ms | lp -dstdout > net.ps
	../cleanps net.ps

net.trout:D:	$DEPS
	{ echo $FONTS; cat net.ms } | tbl | troff -ms > net.trout

tree.pout:D:	tree
	pic tree > tree.pout

net.html:D:	$DEPS
	tbl net.ms | htmlroff -ms -mhtml >net.html

%.pdf:D:	%.ps
	cat ../docfonts $stem.ps >_$stem.ps
	# distill _$stem.ps && mv _$stem.pdf $stem.pdf
	ps2pdf _$stem.ps $stem.pdf && rm -f _$stem.ps

clean:V:
	rm -f net.ps tree.pout net.trout