summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1997-03-13 14:14:29 +0000
committerFred Drake <fdrake@acm.org>1997-03-13 14:14:29 +0000
commitdb5a41f16bf41db30e20e584e2fc163ac4f205ed (patch)
tree546d8a1a6549b717582df5c440df1e6e9e852177
parentef8dc06c01e71889122d7cfb2590cde12b8a9515 (diff)
downloadcpython-git-db5a41f16bf41db30e20e584e2fc163ac4f205ed.tar.gz
target libinstall:
Create the .pyo files corresponding to the .py and .pyc files as well.
-rw-r--r--Makefile.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index e4810f02d8..3c949bbef6 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):