shithub: neoventi

ref: 4b60d3dd32efd00a1d07cb08662926ba9836719f
dir: /mkfile/

View raw version
</$objtype/mkfile

TARG=neoventi
BIN=/$objtype/bin
OFILES=unwhack.$O server.$O util.$O disk.$O cache.$O
CLEANFILES=paper.ps paper.pdf

HFILES=neoventi.h

</sys/src/cmd/mkmany

#LDFLAGS=-p

vac:VE:
	vacfs -h tcp!127.1!14011 vac:3a51e294f70a87dc6c12805d82787e0a8a3e117f

fg:VE: $O.neoventi
	./$O.neoventi -c /dev/jasnah/arenas

run:VE: $O.neoventi
	./$O.neoventi & pid=$apid
	sleep 2
	venti/read -h tcp!127.1!14011 vac:4091f8b8aafc7b8a815f38534b70a171e4ae3e44
	echo kill >/proc/$pid/ctl

hook:
	hook BufWritePost '.*\.c' 'mk run'

paper.ps:D: paper.ms
	cat $prereq | pic | tbl | eqn | troff -ms | lp -dstdout > $target

paper.pdf:D: paper.ms
	cat $prereq | pic | tbl | eqn | troff -ms | lp -dstdout | ps2pdf > $target