[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / share / man

File: [cvs.NetBSD.org] / src / share / man / Makefile (download)

Revision 1.22, Mon Jun 10 18:47:12 2002 UTC (21 years, 9 months ago) by mason
Branch: MAIN
Changes since 1.21: +2 -2 lines

Use the new cat(1) locking functionality - should solve PR toolchain/16963.
If all goes well, will submit a batch of pull-up requests for netbsd-1-6
presently to bring these additions and fixes into 1.6.

#	$NetBSD: Makefile,v 1.22 2002/06/10 18:47:12 mason Exp $
#	from: @(#)Makefile	8.2 (Berkeley) 4/16/94

.include <bsd.own.mk>

.if ${MKSHARE} != "no"
SUBDIR=	man0 man1 man3 man4 man5 man6 man7 man8 man9
MAKEWHATIS?=	/usr/libexec/makewhatis

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

.include <bsd.subdir.mk>