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

List:       kde-devel
Subject:    Re: question about stale moc files
From:       Malte Starostik <malte () kde ! org>
Date:       2002-09-30 7:08:10
[Download RAW message or body]

On Monday 30 September 2002 08:23, Andras Mantia wrote:
> Another one:
>
> rm -f `find . -name "*.moc.*"`
This might result in "argument list too long" though.
If this is not the case i.e. there aren't too many moc files, here's another 
one and only one of the reasons to use zsh instead of bash: :-)
rm **/*.moc.*

-Malte

> 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 <<

[Attachment #3 (application/pgp-signature)]
>> 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