include ../../Makefile.vars

TARTARGETS = ${TARDIR}/man/man1/mcloc.1

all: mcloc.html

tarprep:: ${TARTARGETS}

${TARDIR}/man/man1/mcloc.1: mcloc.1
	../../install-sh -c -m 644 $< $@

mcloc.html: mcloc.1
	mandoc -T html -O style=./mcloc.css $< > $@

clean::
	rm -f mcloc.html

distclean:: clean
	rm -f ${TARTARGETS}
