Fix "make clean" when xcodebuild isn't available on the build box

This commit is contained in:
Jordan Lee 2012-09-23 00:14:04 +00:00
parent 7fe9042235
commit 36e1337e68
1 changed files with 2 additions and 0 deletions

View File

@ -168,11 +168,13 @@ dist-hook:
rm -rf `find $(distdir)/ -type d -name .svn`
rm -rf `find $(distdir)/ -type d -name .deps`
if BUILD_MAC
# Use Xcode do make the actual build
all:
@(cd .. && xcodebuild -alltargets -activeconfiguration | grep -v "^$$")
clean-local:
@(cd .. && xcodebuild -alltargets -activeconfiguration clean | grep -v "^$$")
endif
define PACKAGE_RULE1
$(RM) tmp "Transmission $(VERSION_PACKAGE)" \