NetBSD/share/man/Makefile

22 lines
537 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.23 2002/06/15 01:46:16 matt 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' | ${CAT} -l >> ${METALOG}
.endif
.else
makedb:
.endif
1993-03-21 12:45:37 +03:00
.include <bsd.subdir.mk>
.include <bsd.sys.mk>