Subject: Re: cleaning out xsrc
To: Andreas Kahari <ak+netbsd@freeshell.org>
From: Frederick Bruckman <fredb@immanent.net>
List: current-users
Date: 03/07/2004 11:15:29
On Sun, 7 Mar 2004, Andreas Kahari wrote:

> On Sun, Mar 07, 2004 at 11:43:43AM -0500, Steve Bellovin wrote:
> > In my /usr/xsrc, I have lots of .depend files and Makefiles.  Here's a
> > partial sample from a 'cvs update':
> >
> > ? xc/lib/Xdmcp/.depend
> > ? xc/lib/Xdmcp/Makefile
> > ? xc/lib/Xdpms/.depend
> > ? xc/lib/Xdpms/Makefile
> >
> > What's the right way to clean them out?  'make clean' in /usr/xsrc
> > doesn't work:
>
> I'm not sure about "right", but one way to do it would be to do this:
>
> cd /usr/xsrc
> sed -n 's/^\? //p' < /tmp/cvsoutput | xargs sudo rm -rf

Why not simply "make cleandir"????

Frederick