]> granicus.if.org Git - python/commitdiff
target libinstall:
authorFred Drake <fdrake@acm.org>
Thu, 13 Mar 1997 14:14:29 +0000 (14:14 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 13 Mar 1997 14:14:29 +0000 (14:14 +0000)
Create the .pyo files corresponding to the .py and .pyc files as
well.

Makefile.in

index e4810f02d8c63fbede51a942fee0b6bc92d7c1ad..3c949bbef6d9b50cec69f2f47f985c853f9692c0 100644 (file)
@@ -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):