diff options
author | Guido van Rossum <guido@python.org> | 2007-08-29 23:24:02 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-08-29 23:24:02 (GMT) |
commit | 77b5e33e7d2ec1ed3e8eabf30e103134b0db76f9 (patch) | |
tree | 5b25de55c127021d81e0d3470a89fbf96cf474d4 /Makefile.pre.in | |
parent | 1c896e3f97520be28dff2f701178f1dc18fd7332 (diff) | |
download | cpython-77b5e33e7d2ec1ed3e8eabf30e103134b0db76f9.zip cpython-77b5e33e7d2ec1ed3e8eabf30e103134b0db76f9.tar.gz cpython-77b5e33e7d2ec1ed3e8eabf30e103134b0db76f9.tar.bz2 |
Modernize clean and funny targets.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r-- | Makefile.pre.in | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index 53012e8..0911336 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -1024,7 +1024,14 @@ TAGS:: pycremoval: find $(srcdir) -name '*.py[co]' -exec rm -f {} ';' -clean: pycremoval +rmtestturds: + -rm -f *BAD *GOOD *SKIPPED + -rm -rf OUT + -rm -f *.TXT + -rm -f *.txt + -rm -f gb-18030-2000.xml + +clean: pycremoval rmtestturds find . -name '*.o' -exec rm -f {} ';' find . -name '*.s[ol]' -exec rm -f {} ';' find $(srcdir)/build -name 'fficonfig.h' -exec rm -f {} ';' || true @@ -1056,20 +1063,27 @@ smelly: all # Find files with funny names funny: - find $(DISTDIRS) -type d \ + find $(DISTDIRS) \ + -name .svn -prune \ + -o -type d \ -o -name '*.[chs]' \ -o -name '*.py' \ -o -name '*.doc' \ - -o -name '*.sty' \ - -o -name '*.bib' \ -o -name '*.dat' \ -o -name '*.el' \ -o -name '*.fd' \ -o -name '*.in' \ - -o -name '*.tex' \ + -o -name '*.gif' \ + -o -name '*.txt' \ + -o -name '*.xml' \ + -o -name '*.xbm' \ + -o -name '*.xpm' \ + -o -name '*.uue' \ + -o -name '*.decTest' \ -o -name '*,[vpt]' \ -o -name 'Setup' \ -o -name 'Setup.*' \ + -o -name regen \ -o -name README \ -o -name Makefile \ -o -name ChangeLog \ |