etc/protocols - sync with NetBSD-8
[minix.git] / share / man / Makefile
blob41b1b31dd31e88d48c85d7bfc3ef03e5a41b8600
1 # $NetBSD: Makefile,v 1.34 2014/12/13 14:16:48 christos Exp $
2 # from: @(#)Makefile 8.2 (Berkeley) 4/16/94
4 .include <bsd.own.mk>
6 .if ${MKSHARE} != "no"
7 # MINIX 3: XXX FIXME
8 #SUBDIR= man0 man1 man2 man3 man3lua man4 man5 man6 man7 man8 man9 man9lua
9 SUBDIR= man5 man7 man8
11 .if !defined(__MINIX) # XXX FIXME
12 .if ${MKRUMP} != "no"
13 SUBDIR+=${.CURDIR}/../../sys/rump/share/man
14 .endif
16 WHATISDBDIR?= /usr/share/man
18 .if ${MKMAKEMANDB} == "no"
19 makedb:
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
26 makedb:
27 .endif
29 .else
30 .endif # !defined(__MINIX)
31 makedb:
32 .endif
34 .include <bsd.subdir.mk>