freebsd-dev/gnu/usr.bin/man/makewhatis/Makefile

18 lines
446 B
Makefile
Raw Normal View History

# @(#)Makefile 5.6 (Berkeley) 6/23/90
1993-07-07 23:07:02 +00:00
NOMAN= noman
CLEANFILES= makewhatis
1993-07-07 23:07:02 +00:00
beforeinstall: makewhatis
install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
makewhatis ${DESTDIR}${BINDIR}
1993-07-07 23:07:02 +00:00
.include <bsd.prog.mk>
1993-07-07 23:07:02 +00:00
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 > makewhatis
1993-07-07 23:07:02 +00:00