Run makewhatis.sh out of the source tree, rather than the makewhatis

out of DESTDIR. Besides eliminating a ordering, this is needed because
the new all-singing-all-dancing domestic/Makefile runs makewhatis for
you .. but it might not be in DESTDIR if only domestic is being installed.
This commit is contained in:
ross 1999-02-26 11:03:08 +00:00
parent ad9eaac8ec
commit 8c4b6f5dd0
1 changed files with 3 additions and 2 deletions

View File

@ -1,13 +1,14 @@
# $NetBSD: Makefile,v 1.18 1999/02/13 02:54:36 lukem Exp $
# $NetBSD: Makefile,v 1.19 1999/02/26 11:03:08 ross 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?= ${.CURDIR}/../../libexec/makewhatis/makewhatis.sh
makedb:
${DESTDIR}/usr/libexec/makewhatis ${DESTDIR}/usr/share/man
sh ${MAKEWHATIS} ${DESTDIR}/usr/share/man
.else
makedb:
.endif