xref: /minix/share/man/Makefile (revision e110411e)
1#	$NetBSD: Makefile,v 1.34 2014/12/13 14:16:48 christos Exp $
2#	from: @(#)Makefile	8.2 (Berkeley) 4/16/94
3
4.include <bsd.own.mk>
5
6.if ${MKSHARE} != "no"
7# MINIX 3: XXX FIXME
8#SUBDIR=	man0 man1 man2 man3 man3lua man4 man5 man6 man7 man8 man9 man9lua
9SUBDIR=	man5 man7 man8
10
11.if !defined(__MINIX) # XXX FIXME
12.if ${MKRUMP} != "no"
13SUBDIR+=${.CURDIR}/../../sys/rump/share/man
14.endif
15
16WHATISDBDIR?=	/usr/share/man
17
18.if ${MKMAKEMANDB} == "no"
19makedb:
20	${TOOL_MAKEWHATIS} ${DESTDIR}${WHATISDBDIR}
21.if ${MKUNPRIVED} != "no"
22	echo ".${WHATISDBDIR}/whatis.db type=file mode=0444 uname=${BINOWN} gname=${BINGRP}" \
23	    | ${METALOG.add}
24.endif
25.else
26makedb:
27.endif
28
29.else
30.endif # !defined(__MINIX)
31makedb:
32.endif
33
34.include <bsd.subdir.mk>
35