From 98841abfcae324b4173cb11a98cfebfeabd58555 Mon Sep 17 00:00:00 2001 From: Mark Dickinson Date: Thu, 24 Sep 2009 19:22:45 +0000 Subject: [PATCH] Merged revisions 75047 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r75047 | mark.dickinson | 2009-09-24 20:21:07 +0100 (Thu, 24 Sep 2009) | 3 lines Issue #6982: Add generated Lib/lib2to3/*.pickle files to 'make clean' target. Thanks egreen. ........ --- Makefile.pre.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.pre.in b/Makefile.pre.in index 689d248f405..b1c1735df4b 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -1131,7 +1131,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 {} ';' @@ -1140,6 +1140,7 @@ clean: pycremoval find . -name '*.s[ol]' -exec rm -f {} ';' find $(srcdir)/build -name 'fficonfig.h' -exec rm -f {} ';' || true find $(srcdir)/build -name 'fficonfig.py' -exec rm -f {} ';' || true + -rm -f Lib/lib2to3/*Grammar*.pickle profile-removal: find . -name '*.gc??' -exec rm -f {} ';'