summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2008-03-22 00:02:41 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2008-03-22 00:02:41 (GMT)
commit3e838dd88df53b47acf5e817c8ec375d430ca056 (patch)
treefe9a1ae5e981a2defbd1f294c88323ac85acb99c /Makefile.pre.in
parentbaf267ceaeb7d4d1e15228018c450a9f738fcf3e (diff)
downloadcpython-3e838dd88df53b47acf5e817c8ec375d430ca056.zip
cpython-3e838dd88df53b47acf5e817c8ec375d430ca056.tar.gz
cpython-3e838dd88df53b47acf5e817c8ec375d430ca056.tar.bz2
Install lib2to3.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 4edc784..f6934a9 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -780,6 +780,7 @@ LIBSUBDIRS= lib-tk site-packages test test/output test/data \
email email/mime email/test email/test/data \
sqlite3 sqlite3/test \
logging bsddb bsddb/test csv wsgiref \
+ lib2to3 lib2to3/fixes lib2to3/pgen2 \
ctypes ctypes/test ctypes/macholib idlelib idlelib/Icons \
distutils distutils/command distutils/tests $(XMLLIBSUBDIRS) \
setuptools setuptools/command setuptools/tests setuptools.egg-info \
@@ -856,6 +857,8 @@ libinstall: build_all $(srcdir)/Lib/$(PLATDIR)
./$(BUILDPYTHON) -Wi -t -O $(DESTDIR)$(LIBDEST)/compileall.py \
-d $(LIBDEST)/site-packages -f \
-x badsyntax $(DESTDIR)$(LIBDEST)/site-packages
+ -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
+ ./$(BUILDPYTHON) -Wi -t -c "import lib2to3.pygram"
# Create the PLATDIR source directory, if one wasn't distributed..
$(srcdir)/Lib/$(PLATDIR):