]> granicus.if.org Git - python/commitdiff
Temporary fix for buildon on both Panther and Jaguar.
authorJack Jansen <jack.jansen@cwi.nl>
Wed, 19 Nov 2003 13:56:40 +0000 (13:56 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Wed, 19 Nov 2003 13:56:40 +0000 (13:56 +0000)
Mac/OSX/Makefile

index 88fbcaf40717be96d632d44adbf810fcac0eae37..d65dcf922f48a9f8eeae723066538e6b536e4f04 100644 (file)
@@ -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: