shithub: gefix

ref: b8b6185f57dca0a64535fd495b436dfb293e9fb3
dir: /mkfile/

View raw version
</$objtype/mkfile

TARG=gefix
BIN=/$objtype/bin
OFILES=\
	blk.$O\
	cache.$O\
	check.$O\
	cons.$O\
	dump.$O\
	error.$O\
	fs.$O\
	hash.$O\
	load.$O\
	main.$O\
	pack.$O\
	ream.$O\
	snap.$O\
	tree.$O\
	user.$O\
	\
	atomic-$objtype.$O

HFILES=\
	dat.h\
	fns.h\
	atomic.h

</sys/src/cmd/mkone
</sys/doc/fonts

%.ps: %.ms
	{ echo $FONTS; cat $stem.ms } | pic | tbl | eqn | troff -ms | lp -dstdout > $target
%.pdf: %.ps
	ps2pdf $stem.ps $stem.pdf

man.install: gefs.4.man gefs.8.man
	cp gefs.4.man /sys/man/4/gefs
	cp gefs.8.man /sys/man/8/gefs