0.8.8.32:
[sbcl.git] / distclean.sh
1 #!/bin/sh
2
3 # a superset of clean.sh, cleaning up not only automatically 
4 # generated files but other things (e.g. customization files)
5 # which shouldn't be in the distribution
6
7 # It's not unheard of to copy the old CMU CL docs into their
8 # traditional sbcl-0.6.x place. If so, it shouldn't end up in
9 # the distribution.
10 rm -rf doc/cmucl
11
12 # miscellaneous other customizations which shouldn't be propagated
13 rm -rf customize-target-features.lisp
14
15 # Since the CVS/ subdirectories on my (WHN) machine have CVS/Root
16 # containing
17 #    :ext:wnewman@cvs.sbcl.sourceforge.net:/cvsroot/sbcl
18 # they're not useful for anyone else, so blow them away. (And even 
19 # if we could set them up to refer to CVS in a way that someone else 
20 # could use, perhaps referring to SourceForge anoncvs, what'd be the 
21 # point? I'd expect a comfortable majority of those who want to do 
22 # CVS operations would be inclined to start with "cvs co" anyway.)
23 find . \( -type d -a -name CVS \) -print | xargs rm -r
24
25 # Fall through to ordinary cleanup.
26 sh clean.sh