2001-11-25 00:39:20 +03:00
|
|
|
# $NetBSD: Makefile,v 1.21 2001/11/24 21:39:20 perry 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"
|
1998-04-22 11:14:30 +04:00
|
|
|
SUBDIR= man0 man1 man3 man4 man5 man6 man7 man8 man9
|
1999-09-26 01:18:02 +04:00
|
|
|
MAKEWHATIS?= /usr/libexec/makewhatis
|
1993-03-21 12:45:37 +03:00
|
|
|
|
|
|
|
makedb:
|
1999-09-26 01:18:02 +04:00
|
|
|
${MAKEWHATIS} ${DESTDIR}/usr/share/man
|
2001-11-25 00:39:20 +03:00
|
|
|
.if defined(UNPRIVED)
|
|
|
|
echo "${DESTDIR}/usr/share/man/whatis.db type=file mode=0444 uname=root gname=wheel" | \
|
|
|
|
sed -e 's|^/|./|g' -e 's|//|/|g' >>${METALOG}
|
|
|
|
.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>
|