summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2008-08-01 14:10:26 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2008-08-01 14:10:26 (GMT)
commit8dbf3649e2e3414a84e070e3f39d67c8e114848b (patch)
tree9a47c34b633fb051f3497c4c3ac8bc3171f5f7fd /Makefile.pre.in
parentdadcd1fd50b02697efcc81cba0bd5b3b5083e69f (diff)
downloadcpython-8dbf3649e2e3414a84e070e3f39d67c8e114848b.zip
cpython-8dbf3649e2e3414a84e070e3f39d67c8e114848b.tar.gz
cpython-8dbf3649e2e3414a84e070e3f39d67c8e114848b.tar.bz2
Generate the PatternGrammar pickle during "make install".
Fixes part of #3131.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in2
1 files changed, 1 insertions, 1 deletions
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 @@ libinstall: build_all $(srcdir)/Lib/$(PLATDIR)
-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):