Subject: Re: grep: is a directory
To: None <netbsd-help@netbsd.org>
From: Julian C. Dunn <lists@aquezada.com>
List: netbsd-help
Date: 07/02/2003 18:41:29
On Wed, 2003-07-02 at 03:21, Ingolf Steinbach wrote:
> Julian C. Dunn wrote:
> > % ./build.sh -m i386 -a sparc -T $HOME/devel/netbsd/tools -D
> > /home/staff/jdunn/devel/netbsd/destdir -O
> > /home/staff/jdunn/devel/netbsd/obj  tools
> > cleandir ===> gnu/usr.bin/grep
> > rm -f a.out [Ee]rrs mklog core *.core grep
> > rm: grep: is a directory
> > *** Error code 1

> Did you also look in your object tree? Check if there is a
> /home/staff/jdunn/devel/netbsd/obj/gnu/usr.bin/grep/grep
> directory.

Yeah, that looks like the problem. I'm just curious -- is there some
make target that I didn't run in order to encounter this error? It seems
awfully non-intuitive to have to manually remove my obj directory before
each build. (Or should I even be doing that.)

- Julian

-- 
[    Julian C. Dunn <jdunn@aquezada.com> * <julian@dreaming.org>    ]
[   WWW: http://www.aquezada.com/staff/julian/  * PGP: 0xFDC205B9   ]
[      "sometimes you win, sometimes you lose / and most times      ]
[     you choose between the two" - carole king, "sweet seasons"    ]