From: Jack Jansen Date: Mon, 2 Sep 2002 12:16:00 +0000 (+0000) Subject: Pass -x badsyntax to compileall. X-Git-Tag: v2.3c1~4241 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e3d9f405e9c5bd0eec453952035bf130099c265b;p=thirdparty%2FPython%2Fcpython.git Pass -x badsyntax to compileall. Tweaks to make builds work for non-standard dstroot. --- diff --git a/Mac/OSX/Makefile b/Mac/OSX/Makefile index 8a3d7d37b5d2..805e17319c4d 100644 --- a/Mac/OSX/Makefile +++ b/Mac/OSX/Makefile @@ -5,9 +5,9 @@ VERSION=2.3 builddir = ../.. srcdir = ../.. -LIBDEST=$(prefix)/lib/python$(VERSION) -prefix=/Library/Frameworks/Python.framework/Versions/$(VERSION) dstroot=/. +prefix=$(dstroot)/Library/Frameworks/Python.framework/Versions/$(VERSION) +LIBDEST=$(prefix)/lib/python$(VERSION) # These are normally glimpsed from the previous set bindir=$(dstroot)/usr/local/bin @@ -261,8 +261,8 @@ installmacsubtree: $(INSTALLED_PYTHON) $(INSTALL_DATA) $(srcdir)/Mac/OSX/Mac.pth $(LIBDEST)/site-packages/ $(PYTHON) $(CACHERSRC) -v $(MACLIBDEST) $(MACTOOLSDEST) - $(INSTALLED_PYTHON) $(srcdir)/Lib/compileall.py $(MACLIBDEST) $(MACTOOLSDEST) - $(INSTALLED_PYTHON) -O $(srcdir)/Lib/compileall.py $(MACLIBDEST) $(MACTOOLSDEST) + $(INSTALLED_PYTHON) -Wi -tt $(srcdir)/Lib/compileall.py -x badsyntax $(MACLIBDEST) $(MACTOOLSDEST) + $(INSTALLED_PYTHON) -O -Wi -tt $(srcdir)/Lib/compileall.py -x badsyntax $(MACLIBDEST) $(MACTOOLSDEST) # Put symlinks "python" and "pythonw" in the standard place