Subject: Re: CVS commit: sharesrc/share/mk
To: James Chacon <jmc@netbsd.org>
From: Bernd Ernesti <netbsd@arresum.inka.de>
List: source-changes
Date: 11/25/2001 11:30:18
On Sun, Nov 25, 2001 at 11:06:02AM +0200, James Chacon wrote:
> 
> Module Name:	sharesrc
> Committed By:	jmc
> Date:		Sun Nov 25 09:06:01 UTC 2001
> 
> Modified Files:
> 	sharesrc/share/mk: bsd.own.mk
> 
> Log Message:
> Before checking the value from PRINTOBJDIR force a make obj at $_SRC_TOP_OBJ_.

Thats not good.

Now, every action cause a mkdir, e.g.:

[root@arresum]/src/share/mk# make install
making /home/work/obj_i386/src.i386/share/mk/obj.i386
install  -c  -r  -o root  -g wheel  -m 444  /src/share/mk/bsd.README /usr/share/mk/bsd.README
install  -c  -r  -o root  -g wheel  -m 444  /src/share/mk/bsd.dep.mk /usr/share/mk/bsd.dep.mk

Thats wrong and even more totaly broken if you have a read only source tree:

[root@arresum]/src/share/mk# make install
/home/source/src/share/mk/obj.i386 -> /usr/obj/src.i386/share/mk
ln: obj.i386: Read-only file system

A make install in src/share/mk should NOT create an obj dir.

Bernd