Pass -x badsyntax to compileall.

Tweaks to make builds work for non-standard dstroot.
This commit is contained in:
Jack Jansen 2002-09-02 12:16:00 +00:00
parent a4ce1cf34c
commit e3d9f405e9
1 changed files with 4 additions and 4 deletions

View File

@ -5,9 +5,9 @@
VERSION=2.3 VERSION=2.3
builddir = ../.. builddir = ../..
srcdir = ../.. srcdir = ../..
LIBDEST=$(prefix)/lib/python$(VERSION)
prefix=/Library/Frameworks/Python.framework/Versions/$(VERSION)
dstroot=/. dstroot=/.
prefix=$(dstroot)/Library/Frameworks/Python.framework/Versions/$(VERSION)
LIBDEST=$(prefix)/lib/python$(VERSION)
# These are normally glimpsed from the previous set # These are normally glimpsed from the previous set
bindir=$(dstroot)/usr/local/bin bindir=$(dstroot)/usr/local/bin
@ -261,8 +261,8 @@ installmacsubtree: $(INSTALLED_PYTHON)
$(INSTALL_DATA) $(srcdir)/Mac/OSX/Mac.pth $(LIBDEST)/site-packages/ $(INSTALL_DATA) $(srcdir)/Mac/OSX/Mac.pth $(LIBDEST)/site-packages/
$(PYTHON) $(CACHERSRC) -v $(MACLIBDEST) $(MACTOOLSDEST) $(PYTHON) $(CACHERSRC) -v $(MACLIBDEST) $(MACTOOLSDEST)
$(INSTALLED_PYTHON) $(srcdir)/Lib/compileall.py $(MACLIBDEST) $(MACTOOLSDEST) $(INSTALLED_PYTHON) -Wi -tt $(srcdir)/Lib/compileall.py -x badsyntax $(MACLIBDEST) $(MACTOOLSDEST)
$(INSTALLED_PYTHON) -O $(srcdir)/Lib/compileall.py $(MACLIBDEST) $(MACTOOLSDEST) $(INSTALLED_PYTHON) -O -Wi -tt $(srcdir)/Lib/compileall.py -x badsyntax $(MACLIBDEST) $(MACTOOLSDEST)
# Put symlinks "python" and "pythonw" in the standard place # Put symlinks "python" and "pythonw" in the standard place