Subject: Re: problems trying to build today's -current
To: None <smb@research.att.com>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: current-users
Date: 02/15/2003 11:16:36
In article <20030215020028.CE2357B4D@berkshire.research.att.com>
smb@research.att.com wrote:

> >> > /usr/src/gnu/usr.bin/grep/grep/obj -> /usr/obj/gnu/usr.bin/grep/grep
> >> > mkdir: /usr/obj/gnu/usr.bin/grep/grep: Not a directory
> >> > *** Error code 1
> >> 
> >> I've gotten that before: you need to delete or move the file and make the
> >> directory (at least I did). It was some oddness due to a new version of
> >> grep.
> >
> >I think the right way is "make cleandir" _before_ "cvs update".
> 
> I don't think so -- the problem was in /usr/obj, ande I was doing the 
> update in /usr/src.

The old Makefile built all objects under /usr/obj/gnu/usr.bin/grep
and it removed /usr/obj/gnu/usr.bin/grep/grep on cleandir target.
New one creats /usr/obj/gnu/usr.bin/grep/grep/ for OBJDIR
and it no longer cleans files under /usr/obj/gnu/usr.bin/grep.
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp