X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=clean.sh;h=46ccee3e88329872dd46fd7ac67dd8f27d3cc2ec;hb=3bbbfec26f90bc005c2ff5c8de0ceb0f95f1a52b;hp=57c4fb9df732783ff8e6c5200ec0c88afed0f852;hpb=34dd23563d2f5cf05c72b971da0d0b065a09bf2a;p=sbcl.git diff --git a/clean.sh b/clean.sh index 57c4fb9..46ccee3 100755 --- a/clean.sh +++ b/clean.sh @@ -38,7 +38,7 @@ done # Within all directories, remove things which don't look like source # files. Some explanations: # (symlinks) -# are never in the sources; they must've been created +# are never in the sources, so must've been created # sbcl # the runtime environment, created by compiling C code # sbcl.h @@ -55,40 +55,46 @@ done # *.core, *.map # looks like SBCL SAVE-LISP-AND-DIE or GENESIS output, and # certainly not source -# *~, #*#, TAGS +# *~, #*# # common names for editor temporary files -# .#* +# TAGS, tags +# files created by GNU etags and ctags +# .#*, *.orig, .*.orig # rubbish left behind by CVS updates # *.htm, *.html # 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 -# typical extensions for fasl files +# *.lisp-obj, *.fasl, *.x86f, *.axpf, *.lbytef, *.lib +# typical extensions for fasl files (not just from SBCL, but +# from other Lisp systems which might be used as xc hosts) find . \( \ - -type l -or \ - -name '*~' -or \ - -name '#*#' -or \ - -name '.#*' -or \ - -name '?*.x86f' -or \ - -name '?*.axpf' -or \ - -name '?*.lbytef' -or \ - -name '?*.fasl' -or \ - -name 'core' -or \ - -name '?*.core' -or \ - -name '*.map' -or \ - -name '*.nm' -or \ - -name '*.host-obj' -or \ - -name '*.lisp-obj' -or \ - -name '*.target-obj' -or \ - -name '*.lib' -or \ - -name '*.tmp' -or \ - -name '*.o' -or \ - -name 'sbcl' -or \ - -name 'sbcl.h' -or \ - -name 'depend' -or \ - -name '*.htm' -or \ - -name '*.html' -or \ - -name 'TAGS' -or \ + -type l -o \ + -name '*~' -o \ + -name '#*#' -o \ + -name '.#*' -o \ + -name '*.orig' -o \ + -name '.*.orig' -o \ + -name '?*.x86f' -o \ + -name '?*.axpf' -o \ + -name '?*.lbytef' -o \ + -name '?*.fasl' -o \ + -name 'core' -o \ + -name '?*.core' -o \ + -name '*.map' -o \ + -name '*.nm' -o \ + -name '*.host-obj' -o \ + -name '*.lisp-obj' -o \ + -name '*.target-obj' -o \ + -name '*.lib' -o \ + -name '*.tmp' -o \ + -name '*.o' -o \ + -name 'sbcl' -o \ + -name 'sbcl.h' -o \ + -name 'depend' -o \ + -name '*.htm' -o \ + -name '*.html' -o \ + -name 'TAGS' -o \ + -name 'tags' -o \ -name 'local-target-features.lisp-expr' \) -print | xargs rm -f