summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-09-24 19:21:07 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-09-24 19:21:07 (GMT)
commit143d433896a812ab1235eb390d41523cec17a34a (patch)
tree86dedabb484852d5406993744fcebf37fe25af38
parent2fd3592e70a420574021f26ca265a4ec8006945b (diff)
downloadcpython-143d433896a812ab1235eb390d41523cec17a34a.zip
cpython-143d433896a812ab1235eb390d41523cec17a34a.tar.gz
cpython-143d433896a812ab1235eb390d41523cec17a34a.tar.bz2
Issue #6982: Add generated Lib/lib2to3/*.pickle files to 'make clean' target.
Thanks egreen.
-rw-r--r--Makefile.pre.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 3176d12..6b0dce4 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1151,7 +1151,7 @@ TAGS::
for i in $(SRCDIRS); do etags -a $$i/*.[ch]; done
# Sanitation targets -- clean leaves libraries, executables and tags
-# files, which clobber removes those as well
+# files, which clobber removes as well
pycremoval:
find $(srcdir) -name '*.py[co]' -exec rm -f {} ';'
@@ -1160,6 +1160,7 @@ clean: pycremoval
find . -name '*.s[ol]' -exec rm -f {} ';'
find build -name 'fficonfig.h' -exec rm -f {} ';' || true
find build -name 'fficonfig.py' -exec rm -f {} ';' || true
+ -rm -f Lib/lib2to3/*Grammar*.pickle
profile-removal:
find . -name '*.gc??' -exec rm -f {} ';'