]> granicus.if.org Git - python/commitdiff
Merged revisions 75047 via svnmerge from
authorMark Dickinson <dickinsm@gmail.com>
Thu, 24 Sep 2009 19:24:44 +0000 (19:24 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Thu, 24 Sep 2009 19:24:44 +0000 (19:24 +0000)
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

index fedcde5f0c45c4a8da15c1ef64e43c91dfedc420..ba3aa2e5b72459700c89d2d0e5ad86da6f33960e 100644 (file)
@@ -1147,7 +1147,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 {} ';'
 
@@ -1167,6 +1167,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 {} ';'