[Python-checkins] r83483 - in python/branches/release27-maint: Makefile.pre.in

mark.dickinson python-checkins at python.org
Sun Aug 1 23:36:26 CEST 2010


Author: mark.dickinson
Date: Sun Aug  1 23:36:26 2010
New Revision: 83483

Log:
Merged revisions 83479 via svnmerge from 
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r83479 | mark.dickinson | 2010-08-01 22:33:01 +0100 (Sun, 01 Aug 2010) | 1 line
  
  Don't delete Lib/test/data/README when doing 'make distclean'
........


Modified:
   python/branches/release27-maint/   (props changed)
   python/branches/release27-maint/Makefile.pre.in

Modified: python/branches/release27-maint/Makefile.pre.in
==============================================================================
--- python/branches/release27-maint/Makefile.pre.in	(original)
+++ python/branches/release27-maint/Makefile.pre.in	Sun Aug  1 23:36:26 2010
@@ -1192,7 +1192,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