From 890499cebd27521a3e3100cf12bda49df038d360 Mon Sep 17 00:00:00 2001 From: Mark Dickinson Date: Sun, 1 Aug 2010 21:36:26 +0000 Subject: [PATCH] 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' ........ --- Makefile.pre.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile.pre.in b/Makefile.pre.in index 2561d7f85d6..a0c977ae816 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -1192,7 +1192,9 @@ clobber: clean profile-removal # 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