summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-01-21 13:50:34 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2003-01-21 13:50:34 (GMT)
commitf2c84d0fa7e4dcb5ab62b9fb6d504c941ccddc29 (patch)
treeb17262761319b4d287169c45e39205aef8cfd427 /Makefile.pre.in
parentc847f4040d58a15c71facc5c2b450a72883672cd (diff)
downloadcpython-f2c84d0fa7e4dcb5ab62b9fb6d504c941ccddc29.zip
cpython-f2c84d0fa7e4dcb5ab62b9fb6d504c941ccddc29.tar.gz
cpython-f2c84d0fa7e4dcb5ab62b9fb6d504c941ccddc29.tar.bz2
Compile site-packages with -t, not -tt.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in10
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 361d8b2..91bff4c 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -683,10 +683,16 @@ libinstall: $(BUILDPYTHON) $(srcdir)/Lib/$(PLATDIR)
$(INSTALL_DATA) $(srcdir)/LICENSE $(LIBDEST)/LICENSE.txt
PYTHONPATH=$(LIBDEST) $(RUNSHARED) \
./$(BUILDPYTHON) -Wi -tt $(LIBDEST)/compileall.py \
- -x badsyntax $(LIBDEST)
+ -x 'badsyntax|site-packages' $(LIBDEST)
PYTHONPATH=$(LIBDEST) $(RUNSHARED) \
./$(BUILDPYTHON) -Wi -tt -O $(LIBDEST)/compileall.py \
- -x badsyntax $(LIBDEST)
+ -x 'badsyntax|site-packages' $(LIBDEST)
+ PYTHONPATH=$(LIBDEST) $(RUNSHARED) \
+ ./$(BUILDPYTHON) -Wi -t $(LIBDEST)/compileall.py \
+ -x badsyntax $(LIBDEST)/site-packages
+ PYTHONPATH=$(LIBDEST) $(RUNSHARED) \
+ ./$(BUILDPYTHON) -Wi -t -O $(LIBDEST)/compileall.py \
+ -x badsyntax $(LIBDEST)/site-packages
# Create the PLATDIR source directory, if one wasn't distributed..
$(srcdir)/Lib/$(PLATDIR):