b48301f54f
sed goes into an obj dir, if it exists, instead of the src dir.
16 lines
316 B
Makefile
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
|
|
|