Do an actual test for xcodebuild, in stead of relying on the user to

uncomment the relevant section.
This commit is contained in:
Jack Jansen 2004-06-02 20:06:38 +00:00
parent 9f5f056d75
commit 29eb8c315d
1 changed files with 5 additions and 3 deletions

View File

@ -9,10 +9,12 @@ 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:
# Test whether to use xcodebuild (preferred) or pbxbuild:
ifeq ($(shell ls /usr/bin/xcodebuild),/usr/bin/xcodebuild)
PBXBUILD=xcodebuild
else
PBXBUILD=pbxbuild
endif
# These are normally glimpsed from the previous set
bindir=/usr/local/bin