freebsd-dev/gnu/usr.bin/man/makewhatis/Makefile
1994-03-19 22:24:48 +00:00

18 lines
468 B
Makefile

# @(#)Makefile 5.6 (Berkeley) 6/23/90
NOMAN= noman
CLEANFILES= makewhatis
beforeinstall: makewhatis
install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
${.CURDIR}/makewhatis ${DESTDIR}${BINDIR}
.include <bsd.prog.mk>
makewhatis: makewhatis.sh
sed -e 's/%sections%/ "1", "n", "l", "6", "8", "2", "3", "4", "5", "7", "p", "o", NULL/' \
-e 's,%zcat%,${zcat},' \
-e 's,%compext%,${compext},' \
${.CURDIR}/makewhatis.sh > ${.CURDIR}/makewhatis