Subject: Re: cleaning out xsrc
To: Steve Bellovin <smb@research.att.com>
From: Andreas Kahari <ak+netbsd@freeshell.org>
List: current-users
Date: 03/07/2004 16:55:42
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

(Don't do that unless you're convinced it will do the right
thing!)

Another would be to simply checkout a fresh xsrc tree.

-- 
Andreas Kähäri                      | {} |
                                    |{}{}|
East Anglia                         | {} |
England                             |{}{}|