diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2002-09-02 12:16:00 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2002-09-02 12:16:00 (GMT) |
commit | e3d9f405e9c5bd0eec453952035bf130099c265b (patch) | |
tree | 54b75d9393aaa65301905fe66b12eed5f667c8c3 /Mac | |
parent | a4ce1cf34c684029ae7fcde898c21a2017f316de (diff) | |
download | cpython-e3d9f405e9c5bd0eec453952035bf130099c265b.zip cpython-e3d9f405e9c5bd0eec453952035bf130099c265b.tar.gz cpython-e3d9f405e9c5bd0eec453952035bf130099c265b.tar.bz2 |
Pass -x badsyntax to compileall.
Tweaks to make builds work for non-standard dstroot.
Diffstat (limited to 'Mac')
-rw-r--r-- | Mac/OSX/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Mac/OSX/Makefile b/Mac/OSX/Makefile index 8a3d7d3..805e173 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 |