shithub: riscv

ref: 29e8ea26f2f9af2b9924e16dffd784bc5ae5685e
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