shithub: hours

ref: e5051cf2345b46f0c3f30572214ee8d2d6e8e99a
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