Suppress warnings when byte-compiling the installed library modules.

This seems the sanest thing to do.
This commit is contained in:
Guido van Rossum 2002-08-29 15:04:37 +00:00
parent f0253f2bc5
commit a29eafa614
1 changed files with 4 additions and 3 deletions

View File

@ -669,10 +669,11 @@ libinstall: $(BUILDPYTHON) $(srcdir)/Lib/$(PLATDIR)
done
$(INSTALL_DATA) $(srcdir)/LICENSE $(LIBDEST)/LICENSE.txt
PYTHONPATH=$(LIBDEST) $(RUNSHARED) \
./$(BUILDPYTHON) -tt $(LIBDEST)/compileall.py -x badsyntax \
$(LIBDEST)
./$(BUILDPYTHON) -Wi -tt $(LIBDEST)/compileall.py \
-x badsyntax $(LIBDEST)
PYTHONPATH=$(LIBDEST) $(RUNSHARED) \
./$(BUILDPYTHON) -O $(LIBDEST)/compileall.py -x badsyntax $(LIBDEST)
./$(BUILDPYTHON) -Wi -tt -O $(LIBDEST)/compileall.py \
-x badsyntax $(LIBDEST)
# Create the PLATDIR source directory, if one wasn't distributed..
$(srcdir)/Lib/$(PLATDIR):