NetBSD/share/man/Makefile

21 lines
503 B
Makefile
Raw Normal View History

# $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
.include <bsd.own.mk>
.if ${MKSHARE} != "no"
SUBDIR= man0 man1 man3 man4 man5 man6 man7 man8 man9
MAKEWHATIS?= /usr/libexec/makewhatis
1993-03-21 12:45:37 +03:00
makedb:
${MAKEWHATIS} ${DESTDIR}/usr/share/man
.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
.else
makedb:
.endif
1993-03-21 12:45:37 +03:00
.include <bsd.subdir.mk>