diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2004-06-02 20:06:38 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2004-06-02 20:06:38 (GMT) |
commit | 29eb8c315d23fd6a36a22be50ad4c1a229f94342 (patch) | |
tree | acc6823a0b02e57728f8b9edcf3cc641c857ce26 /Mac | |
parent | 9f5f056d7547cd4d8347eb4c4a309eea5397f164 (diff) | |
download | cpython-29eb8c315d23fd6a36a22be50ad4c1a229f94342.zip cpython-29eb8c315d23fd6a36a22be50ad4c1a229f94342.tar.gz cpython-29eb8c315d23fd6a36a22be50ad4c1a229f94342.tar.bz2 |
Do an actual test for xcodebuild, in stead of relying on the user to
uncomment the relevant section.
Diffstat (limited to 'Mac')
-rw-r--r-- | Mac/OSX/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Mac/OSX/Makefile b/Mac/OSX/Makefile index 3c82a24..e8d1529 100644 --- a/Mac/OSX/Makefile +++ b/Mac/OSX/Makefile @@ -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 |