[Python-3000-checkins] r57682 - python/branches/py3k/Makefile.pre.in
guido.van.rossum
python-3000-checkins at python.org
Thu Aug 30 01:24:02 CEST 2007
Author: guido.van.rossum
Date: Thu Aug 30 01:24:02 2007
New Revision: 57682
Modified:
python/branches/py3k/Makefile.pre.in
Log:
Modernize clean and funny targets.
Modified: python/branches/py3k/Makefile.pre.in
==============================================================================
--- python/branches/py3k/Makefile.pre.in (original)
+++ python/branches/py3k/Makefile.pre.in Thu Aug 30 01:24:02 2007
@@ -1024,7 +1024,14 @@
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 @@
# 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 \
More information about the Python-3000-checkins
mailing list