2014-12-13 17:16:48 +03:00
|
|
|
# $NetBSD: Makefile,v 1.34 2014/12/13 14:16:48 christos Exp $
|
1997-10-19 16:55:52 +04:00
|
|
|
# from: @(#)Makefile 8.2 (Berkeley) 4/16/94
|
1993-03-21 12:45:37 +03:00
|
|
|
|
1999-02-13 05:54:17 +03:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
.if ${MKSHARE} != "no"
|
2013-10-26 12:23:38 +04:00
|
|
|
SUBDIR= man0 man1 man2 man3 man3lua man4 man5 man6 man7 man8 man9 man9lua
|
2014-12-13 17:16:48 +03:00
|
|
|
|
|
|
|
.if ${MKRUMP} != "no"
|
2014-11-09 20:39:37 +03:00
|
|
|
SUBDIR+=${.CURDIR}/../../sys/rump/share/man
|
2014-12-13 17:16:48 +03:00
|
|
|
.endif
|
1993-03-21 12:45:37 +03:00
|
|
|
|
2004-02-09 10:58:01 +03:00
|
|
|
WHATISDBDIR?= /usr/share/man
|
|
|
|
|
2012-02-07 23:13:24 +04:00
|
|
|
.if ${MKMAKEMANDB} == "no"
|
1993-03-21 12:45:37 +03:00
|
|
|
makedb:
|
2004-02-09 10:58:01 +03:00
|
|
|
${TOOL_MAKEWHATIS} ${DESTDIR}${WHATISDBDIR}
|
2003-07-18 12:26:01 +04:00
|
|
|
.if ${MKUNPRIVED} != "no"
|
2004-02-09 10:58:01 +03:00
|
|
|
echo ".${WHATISDBDIR}/whatis.db type=file mode=0444 uname=${BINOWN} gname=${BINGRP}" \
|
2002-12-23 09:52:48 +03:00
|
|
|
| ${METALOG.add}
|
2001-11-25 00:39:20 +03:00
|
|
|
.endif
|
1998-09-27 21:22:03 +04:00
|
|
|
.else
|
|
|
|
makedb:
|
|
|
|
.endif
|
1993-03-21 12:45:37 +03:00
|
|
|
|
2012-02-07 23:13:24 +04:00
|
|
|
.else
|
|
|
|
makedb:
|
|
|
|
.endif
|
|
|
|
|
1997-05-09 18:31:24 +04:00
|
|
|
.include <bsd.subdir.mk>
|