[Python-checkins] r83479 - python/branches/py3k/Makefile.pre.in
mark.dickinson
python-checkins at python.org
Sun Aug 1 23:33:01 CEST 2010
Author: mark.dickinson
Date: Sun Aug 1 23:33:01 2010
New Revision: 83479
Log:
Don't delete Lib/test/data/README when doing 'make distclean'
Modified:
python/branches/py3k/Makefile.pre.in
Modified: python/branches/py3k/Makefile.pre.in
==============================================================================
--- python/branches/py3k/Makefile.pre.in (original)
+++ python/branches/py3k/Makefile.pre.in Sun Aug 1 23:33:01 2010
@@ -1204,7 +1204,9 @@
# remove all generated files, even Makefile[.pre]
# Keep configure and Python-ast.[ch], it's possible they can't be generated
distclean: clobber
- -rm -f Lib/test/data/*
+ for file in Lib/test/data/* ; do \
+ if test "$$file" != "Lib/test/data/README"; then rm "$$file"; fi; \
+ done
-rm -f core Makefile Makefile.pre config.status \
Modules/Setup Modules/Setup.local Modules/Setup.config \
Misc/python.pc
More information about the Python-checkins
mailing list