summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-08-01 21:36:26 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2010-08-01 21:36:26 (GMT)
commit890499cebd27521a3e3100cf12bda49df038d360 (patch)
tree35a1d3e626a11a7bd884f5b92055da11a33f3379 /Makefile.pre.in
parent0051a44403573b26c5e45a85ac833f8d07e9bf81 (diff)
downloadcpython-890499cebd27521a3e3100cf12bda49df038d360.zip
cpython-890499cebd27521a3e3100cf12bda49df038d360.tar.gz
cpython-890499cebd27521a3e3100cf12bda49df038d360.tar.bz2
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' ........
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 2561d7f..a0c977a 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