shithub: cuefs

ref: eb3c2d7953f0363b65a52a4283ec48e69dc339e5
dir: /mkfile/

View raw version
</$objtype/mkfile

TARG=cuefs
BIN=/$objtype/bin
RCBIN=/rc/bin

RC=\
	cuesplit

MAN=\
	4/cuefs	\
	1/cuesplit

LFILES=\
	cue.l

YFILES=\
	cue.y

HFILES=\
	cuefs.h		\
	y.tab.h

OFILES=\
	lex.yy.$O	\
	y.tab.$O	\
	main.$O		\
	misc.$O		\
	cue.$O		\
	fs.$O

</sys/src/cmd/mkone

LFLAGS=-9n
YFLAGS=$YFLAGS

install:V: ${RC:%=$RCBIN/%} ${MAN:%=/sys/man/%}

# TODO better automate manpage installation, etc

/sys/man/4/cuefs: cuefs.4.man
	cp $prereq $target

/sys/man/1/cuesplit: cuesplit.1.man
	cp $prereq $target

$RCBIN/%: %
	cp $prereq $target