Don't delete Lib/test/data/README when doing 'make distclean'

This commit is contained in:
Mark Dickinson 2010-08-01 21:33:01 +00:00
parent 0291c9ffa2
commit de802be001
1 changed files with 3 additions and 1 deletions

View File

@ -1204,7 +1204,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