summaryrefslogtreecommitdiff
path: root/share/man/Makefile
blob: b5f11c3a5fc206eec531bf2a826d3016ee6179e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#	$NetBSD: Makefile,v 1.27 2003/10/14 14:59:03 wiz 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

makedb:
	${TOOL_MAKEWHATIS} ${DESTDIR}/usr/share/man
.if ${MKUNPRIVED} != "no"
	echo "./usr/share/man/whatis.db type=file mode=0444 uname=root gname=wheel" \
	    | ${METALOG.add}
.endif
.else
makedb:
.endif

.include <bsd.subdir.mk>
.include <bsd.sys.mk>