From 8c4b6f5dd0099a28dfea4068e9e3a04409f7f4be Mon Sep 17 00:00:00 2001 From: ross Date: Fri, 26 Feb 1999 11:03:08 +0000 Subject: [PATCH] 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. --- share/man/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/share/man/Makefile b/share/man/Makefile index 4b05ebe684ec..2144cfacb8e8 100644 --- a/share/man/Makefile +++ b/share/man/Makefile @@ -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 .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