X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=clean.sh;h=e56d79f3b42989ae3e3d0cc212b27f06b8423592;hb=HEAD;hp=cf16472aebf6afc775c9fa105defc7b47b24d276;hpb=4ca6d75333ca2e090af6e86d0c4d546aba0f4e54;p=sbcl.git diff --git a/clean.sh b/clean.sh index cf16472..e56d79f 100755 --- a/clean.sh +++ b/clean.sh @@ -30,7 +30,7 @@ for d in tools-for-build; do # is misleading when this script does lotso other operations too. # -- WHN $GNUMAKE -I ../src/runtime -s clean - cd $original_pwd > /dev/null + cd "$original_pwd" > /dev/null done ( cd ./doc ; sh ./clean.sh ) @@ -77,6 +77,7 @@ find . \( \ -name '{arch}' -o \ -name CVS -o \ -name .hg -o \ + -name .git -o \ -name .svn \) -type d -prune -o \ \( \ -type l -o \ @@ -104,6 +105,12 @@ find . \( \ -name '*.o' -o \ -name '*.so' -o \ -name '*.d' -o \ + -name 'foo.c' -o \ + -name 'test-output' -o \ + -name 'test-lab' -o \ + -name 'encodings.texi-temp' -o \ + -name 'stack-alignment-offset' -o \ + -name 'test-status.lisp-expr' -o \ -name 'a.out' -o \ -name 'sbcl' -o \ -name 'sbcl.h' -o \ @@ -111,4 +118,5 @@ find . \( \ -name 'TAGS' -o \ -name 'tags' -o \ -name 'test-passed' -o \ - -name 'local-target-features.lisp-expr' \) -print | xargs rm -f + -name 'ldso-stubs.S' -o \ + -name 'local-target-features.lisp-expr' \) -print | xargs rm -fr