Subject: problem making man pages in BSDOBJDIR environment
To: None <current-users@NetBSD.ORG>
From: Erik E. Fair <fair@digital.clock.org>
List: current-users
Date: 05/15/1998 14:31:58
I am trying to use an NFS mounted /usr/src for several machines, and local
/usr/obj on each system.

NetBSD 1.3.2 has built beautifully in this environment.

However, -current tries to put the man page output in /usr/src, even though
it's not supposed to do that.

/usr/share/mk/bsd.man.mk only has one significant change between 1.3 and
-current:

Index: bsd.man.mk
===================================================================
RCS file: /cvsroot/src/share/mk/bsd.man.mk,v
retrieving revision 1.36
retrieving revision 1.37
diff -r1.36 -r1.37
1c1
< #	$NetBSD: bsd.man.mk,v 1.36 1997/12/02 08:42:28 mikel Exp $
---
> #	$NetBSD: bsd.man.mk,v 1.37 1998/02/15 01:07:46 thorpej Exp $
19a20,26
> TMACDIR?=	${DESTDIR}/usr/share/tmac
> CATDEPS?=	${TMACDIR}/tmac.andoc \
> 		${TMACDIR}/tmac.doc \
> 		${TMACDIR}/tmac.doc-ditroff \
> 		${TMACDIR}/tmac.doc-common \
> 		${TMACDIR}/tmac.doc-nroff \
> 		${TMACDIR}/tmac.doc-syms
27c34,35
< .9.cat9 .8.cat8 .7.cat7 .6.cat6 .5.cat5 .4.cat4 .3.cat3 .2.cat2 .1.cat1:
---
> .9.cat9 .8.cat8 .7.cat7 .6.cat6 .5.cat5 .4.cat4 .3.cat3 .2.cat2 .1.cat1: \
>     ${CATDEPS}

Is this screwing with ${.TARGET} in some way? I fail to see it, but make is a
lot more baroque these days...

	insights, anyone?

	Erik <fair@clock.org>