summaryrefslogtreecommitdiffstats
path: root/Mac/OSX/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/OSX/Makefile')
-rw-r--r--Mac/OSX/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Mac/OSX/Makefile b/Mac/OSX/Makefile
index 88fbcaf..d65dcf9 100644
--- a/Mac/OSX/Makefile
+++ b/Mac/OSX/Makefile
@@ -9,6 +9,10 @@ prefix=/Library/Frameworks/Python.framework/Versions/$(VERSION)
LIBDEST=$(prefix)/lib/python$(VERSION)
BUILDPYTHON=$(builddir)/python.exe
DESTDIR=
+# For 10.2:
+#PBXBUILD=pbxbuild
+# For 10.3:
+PBXBUILD=xcodebuild
# These are normally glimpsed from the previous set
bindir=/usr/local/bin
@@ -58,7 +62,7 @@ installapps: install_PythonLauncher install_Python install_BuildApplet install_I
install_PythonLauncher:
cd $(srcdir)/Mac/OSX/PythonLauncher/PythonLauncher.pbproj ; \
- pbxbuild -target PythonLauncher -buildstyle Deployment install \
+ $(PBXBUILD) -target PythonLauncher -buildstyle Deployment install \
DSTROOT=$(DESTDIR)/ INSTALL_PATH=$(PYTHONAPPSPATH)
install_Python: