freebsd-dev/gnu/usr.bin/man/catman/Makefile
Andreas Schulz b48301f54f Changed the Makefiles for catman and makewhatis that the output from the
sed goes into an obj dir, if it exists, instead of the src dir.
1994-04-13 19:54:43 +00:00

16 lines
316 B
Makefile

NOMAN= noman
CLEANFILES= catman
beforeinstall: catman
install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
catman ${DESTDIR}${BINDIR}
.include <bsd.prog.mk>
catman: catman.sh
sed -e 's,%compress%,${compress},' \
-e 's,%compext%,${compext},' \
-e 's,%zcat%,${zcat},' \
${.CURDIR}/catman.sh > catman