diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2010-08-01 21:33:01 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2010-08-01 21:33:01 (GMT) |
commit | de802be00151337356f3da697a7b403db065d0da (patch) | |
tree | 1258fe1d2bb8aa2be64d16b4bc5eda72f24a3643 /Makefile.pre.in | |
parent | 0291c9ffa2fb6e2836f0749cc8d685503db9da3a (diff) | |
download | cpython-de802be00151337356f3da697a7b403db065d0da.zip cpython-de802be00151337356f3da697a7b403db065d0da.tar.gz cpython-de802be00151337356f3da697a7b403db065d0da.tar.bz2 |
Don't delete Lib/test/data/README when doing 'make distclean'
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r-- | Makefile.pre.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index f7e9f74..03195a2 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -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 |