NetBSD/share/man/Makefile

23 lines
504 B
Makefile

# $NetBSD: Makefile,v 1.29 2004/02/09 07:58:01 lukem Exp $
# from: @(#)Makefile 8.2 (Berkeley) 4/16/94
.include <bsd.own.mk>
.if ${MKSHARE} != "no"
SUBDIR= man0 man1 man2 man3 man4 man5 man6 man7 man8 man9
WHATISDBDIR?= /usr/share/man
makedb:
${TOOL_MAKEWHATIS} ${DESTDIR}${WHATISDBDIR}
.if ${MKUNPRIVED} != "no"
echo ".${WHATISDBDIR}/whatis.db type=file mode=0444 uname=${BINOWN} gname=${BINGRP}" \
| ${METALOG.add}
.endif
.else
makedb:
.endif
.include <bsd.subdir.mk>
.include <bsd.sys.mk>