summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1997-03-13 14:14:29 (GMT)
committerFred Drake <fdrake@acm.org>1997-03-13 14:14:29 (GMT)
commitdb5a41f16bf41db30e20e584e2fc163ac4f205ed (patch)
tree546d8a1a6549b717582df5c440df1e6e9e852177 /Makefile.in
parentef8dc06c01e71889122d7cfb2590cde12b8a9515 (diff)
downloadcpython-db5a41f16bf41db30e20e584e2fc163ac4f205ed.zip
cpython-db5a41f16bf41db30e20e584e2fc163ac4f205ed.tar.gz
cpython-db5a41f16bf41db30e20e584e2fc163ac4f205ed.tar.bz2
target libinstall:
Create the .pyo files corresponding to the .py and .pyc files as well.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index e4810f0..3c949bb 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -265,6 +265,8 @@ libinstall: python $(srcdir)/Lib/$(MACHDEP)
done
PYTHONPATH=$(LIBDEST) \
./python $(LIBDEST)/compileall.py $(LIBDEST)
+ PYTHONPATH=$(LIBDEST) \
+ ./python -O $(LIBDEST)/compileall.py $(LIBDEST)
# Create the MACHDEP source directory, if one wasn't distributed..
$(srcdir)/Lib/$(MACHDEP):