shithub: hours

ref: 662804331795230f76a836ce2db230317149d709
dir: /mkfile/

View raw version
default:V:
	echo 'Use mk install'

files=hours.awk report clock watch

install:V: ${files:%=$home/bin/rc/hours/%}
	@{cd watch && mk install && cd ..}

$home/bin/rc/hours/%: %
	if(! test -d $home/bin/rc/hours)
		mkdir $home/bin/rc/hours
	cp $prereq $target

$home/bin/rc/hours/watch:V:
	cat <<! >$target
	#!/bin/rc
	exec $home/bin/$objtype/hours/watch
	!
	chmod +x $target