NetBSD/share/man/Makefile

21 lines
503 B
Makefile

# $NetBSD: Makefile,v 1.21 2001/11/24 21:39:20 perry Exp $
# from: @(#)Makefile 8.2 (Berkeley) 4/16/94
.include <bsd.own.mk>
.if ${MKSHARE} != "no"
SUBDIR= man0 man1 man3 man4 man5 man6 man7 man8 man9
MAKEWHATIS?= /usr/libexec/makewhatis
makedb:
${MAKEWHATIS} ${DESTDIR}/usr/share/man
.if defined(UNPRIVED)
echo "${DESTDIR}/usr/share/man/whatis.db type=file mode=0444 uname=root gname=wheel" | \
sed -e 's|^/|./|g' -e 's|//|/|g' >>${METALOG}
.endif
.else
makedb:
.endif
.include <bsd.subdir.mk>