X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=clean.sh;h=57c4fb9df732783ff8e6c5200ec0c88afed0f852;hb=b767eae48831153473226b985511c8f7a3ef98c5;hp=72ad69d213ad3d9fe1e1dca5cd0ab7351b20d990;hpb=d7f6139a91d7d9b0667a597584ae306d958bb2f4;p=sbcl.git diff --git a/clean.sh b/clean.sh index 72ad69d..57c4fb9 100755 --- a/clean.sh +++ b/clean.sh @@ -23,11 +23,16 @@ rm -rf obj/* output/* doc/user-manual \ # standard clean.sh file.) # Ask some other directories to clean themselves up. -pwd=`pwd` +original_pwd=`pwd` for d in tools-for-build; do - cd $d - make clean - cd $pwd + cd $d > /dev/null + # I hope the -s option is standard. At least GNU make and BSD make + # support it. It silences make, since otherwise the output from + # this script is just the operations done by these make's, which + # is misleading when this script does lotso other operations too. + # -- WHN + make -s clean + cd $original_pwd > /dev/null done # Within all directories, remove things which don't look like source @@ -52,9 +57,11 @@ done # certainly not source # *~, #*#, TAGS # common names for editor temporary files +# .#* +# rubbish left behind by CVS updates # *.htm, *.html -# The system doc sources are SGML, any HTML is automatically -# generated output. +# The system doc sources are SGML, any HTML is +# automatically-generated output. # depend # made by "make depend" (or "gmake depend" or some such thing) # *.x86f, *.axpf, *.lbytef, *.fasl @@ -63,6 +70,7 @@ find . \( \ -type l -or \ -name '*~' -or \ -name '#*#' -or \ + -name '.#*' -or \ -name '?*.x86f' -or \ -name '?*.axpf' -or \ -name '?*.lbytef' -or \