From: Mark Dickinson Date: Thu, 24 Sep 2009 19:25:39 +0000 (+0000) Subject: Merged revisions 75049 via svnmerge from X-Git-Tag: v3.1.2rc1~492 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e2a6a70a7f2d8e94cc27774c0fac41933b95e990;p=python Merged revisions 75049 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r75049 | mark.dickinson | 2009-09-24 20:24:44 +0100 (Thu, 24 Sep 2009) | 10 lines 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. ........ ................ --- diff --git a/Makefile.pre.in b/Makefile.pre.in index ee1b0ddbfe..a35811c057 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -1148,7 +1148,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 {} ';' @@ -1168,6 +1168,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 {} ';'