[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: question about stale moc files
From:       Andras Mantia <amantia () virtualartisans ! com>
Date:       2002-09-30 6:23:25
[Download RAW message or body]

Another one:

rm -f `find . -name "*.moc.*"`

Andras

On Monday 30 September 2002 03:00, Sean McGlynn wrote:
> On Monday 30 September 2002 00:21, Jason Harris wrote:
> > Hi,
> >
> > Is there a way to recursively remove moc files from my local CVS tree?
> > After updating, I get a lot of compile errors because the moc files were
> > created with an old moc version; I then have to go into each subdirectory
> > and "rm *.moc" (which is cumbersome), or do "make clean" (which is
> > inefficient).  It would be ideal if make would just silently rebuild the
> > moc files instead of failing.
> >
> > Any clue-by-fours are welcome....thanks!
> >
> > Jason
>
> Hello Jason,
>
> In the top level of the build directory do
>
>   find . -name '*.moc' | xargs rm
>
> Cheers,
> Sean

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic