X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=clean.sh;h=46ccee3e88329872dd46fd7ac67dd8f27d3cc2ec;hb=d202a453b45430e04671b966c01bc067c2667442;hp=9eaa20eb21c80f9c82762ffde1e99df4cd9cfc7d;hpb=0d669e68a1ffbea42af6216f2ae8c7d7ca12ffb6;p=sbcl.git diff --git a/clean.sh b/clean.sh index 9eaa20e..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,22 +55,27 @@ 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 -o \ -name '*~' -o \ -name '#*#' -o \ -name '.#*' -o \ + -name '*.orig' -o \ + -name '.*.orig' -o \ -name '?*.x86f' -o \ -name '?*.axpf' -o \ -name '?*.lbytef' -o \ @@ -91,4 +96,5 @@ find . \( \ -name '*.htm' -o \ -name '*.html' -o \ -name 'TAGS' -o \ + -name 'tags' -o \ -name 'local-target-features.lisp-expr' \) -print | xargs rm -f