shithub: riscv

ref: fe1eb39db7ae6904924f3ab1f6f9b34416f2eb1b
dir: /sys/doc/nupas/mkfile/

View raw version
TARG=nupas.ps nupas.pdf

all:V: $TARG

%.ps:DQ:	%.ms
	eval `{doctype macros.ms $stem.ms} | \
	lp -m.9 -dstdout >$target

%.html:DQ:	%.ms
	htmlroff -ms -mhtml $stem.ms >$target

%.pdf:DQ: %.ps
	cat ../docfonts $stem.ps >_$stem.ps
	ps2pdf _$stem.ps $stem.pdf && rm -f _$stem.ps

%.show:VQ:	%.ps
	page -w $stem.ps

#install:VQ: fs4.man fs.man fsrecover.man fsconfig.man
#	cp fs4.man /sys/man/4/fs
#	cp fs.man /sys/man/8/fs
#	cp fsconfig.man /sys/man/8/fsconfig
#	cp fsrecover.man /sys/man/8/fsrecover