File: distclean.sh

package info (click to toggle)
sbcl 2%3A1.4.16-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 39,432 kB
  • sloc: lisp: 430,782; ansic: 32,456; sh: 4,007; asm: 3,341; makefile: 216
file content (27 lines) | stat: -rw-r--r-- 1,029 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/sh
set -e

# a superset of clean.sh, cleaning up not only automatically
# generated files but other things (e.g. customization files)
# which shouldn't be in the distribution

# It's not unheard of to copy the old CMU CL docs into their
# traditional sbcl-0.6.x place. If so, it shouldn't end up in
# the distribution.
rm -rf doc/cmucl

# miscellaneous other customizations which shouldn't be propagated
rm -rf customize-target-features.lisp

# Since the CVS/ subdirectories on my (WHN) machine have CVS/Root
# containing
#    :ext:wnewman@cvs.sbcl.sourceforge.net:/cvsroot/sbcl
# they're not useful for anyone else, so blow them away. (And even
# if we could set them up to refer to CVS in a way that someone else
# could use, perhaps referring to SourceForge anoncvs, what'd be the
# point? I'd expect a comfortable majority of those who want to do
# CVS operations would be inclined to start with "cvs co" anyway.)
find . \( -type d -a -name CVS \) -print | xargs rm -r

# Fall through to ordinary cleanup.
sh clean.sh