Generate the PatternGrammar pickle during "make install".
Fixes part of #3131.
diff --git a/Makefile.pre.in b/Makefile.pre.in
index ffb2b04..d3e8535 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -895,7 +895,7 @@
 		-d $(LIBDEST)/site-packages -f \
 		-x badsyntax $(DESTDIR)$(LIBDEST)/site-packages
 	-PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
-		./$(BUILDPYTHON) -Wi -t -c "import lib2to3.pygram"
+		./$(BUILDPYTHON) -Wi -t -c "import lib2to3.pygram, lib2to3.patcomp;lib2to3.patcomp.PatternCompiler()"
 
 # Create the PLATDIR source directory, if one wasn't distributed..
 $(srcdir)/Lib/$(PLATDIR):
diff --git a/Misc/NEWS b/Misc/NEWS
index 8aa006a..28a99e7 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -68,6 +68,11 @@
   file name rather than a ZipInfo instance, so files are extracted with
   mode 0600 rather than 000 under Unix.
 
+Build
+-----
+
+- Generate the PatternGrammar pickle during "make install".
+
 
 What's New in Python 2.6 beta 2?
 ================================