2004-02-09 10:58:01 +03:00
|
|
|
# $NetBSD: Makefile,v 1.29 2004/02/09 07:58:01 lukem 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"
|
2003-10-14 18:59:03 +04:00
|
|
|
SUBDIR= man0 man1 man2 man3 man4 man5 man6 man7 man8 man9
|
1993-03-21 12:45:37 +03:00
|
|
|
|
2004-02-09 10:58:01 +03:00
|
|
|
WHATISDBDIR?= /usr/share/man
|
|
|
|
|
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
|
|
|
|
1997-05-09 18:31:24 +04:00
|
|
|
.include <bsd.subdir.mk>
|
2002-06-15 05:46:16 +04:00
|
|
|
.include <bsd.sys.mk>
|