aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar epoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-08-15 19:22:39 +0000
committerGravatar epoger@google.com <epoger@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-08-15 19:22:39 +0000
commitab9b658a2a39e7d05cdcc66337ebec713f336dfd (patch)
treea0dc7532b554b2a4ce0216467fbc5b973eaf135a /Makefile
parent8fbc3f07a863c7b23835ed0394b8a2c6378dc6b0 (diff)
Stop packaging command-line Mac tools as a bundle.
Review URL: http://codereview.appspot.com/4894046 git-svn-id: http://skia.googlecode.com/svn/trunk@2113 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index f5fa963b49..a3ac806a17 100644
--- a/Makefile
+++ b/Makefile
@@ -90,9 +90,8 @@ ifneq (,$(findstring Linux, $(uname)))
$(MAKE) -C out $@ BUILDTYPE=$(BUILDTYPE)
endif
ifneq (,$(findstring Darwin, $(uname)))
+ rm -f out/$(BUILDTYPE) || if test -d out/$(BUILDTYPE); then echo "run 'make clean' or otherwise delete out/$(BUILDTYPE)"; exit 1; fi
xcodebuild -project out/gyp/$@.xcodeproj -configuration $(BUILDTYPE)
- mkdir -p out/$(BUILDTYPE)
- rm -f out/$(BUILDTYPE)/$@
- ln -s $(CWD)/xcodebuild/$(BUILDTYPE)/$@.app/Contents/MacOS/$@ out/$(BUILDTYPE)/$@
+ ln -s $(CWD)/xcodebuild/$(BUILDTYPE) out/$(BUILDTYPE)
endif