2 BUILD_DIR?
=$(shell defaults read com.apple.Xcode PBXProductDirectory
2> /dev
/null
)
4 ifeq ($(strip $(BUILD_DIR
)),)
8 DEFAULT_BUILDCONFIGURATION
=Deployment-Debug
10 BUILDCONFIGURATION?
=$(DEFAULT_BUILDCONFIGURATION
)
15 .PHONY
: all adium
clean localizable-strings latest
18 xcodebuild
-project Adium.xcodeproj
-configuration
$(BUILDCONFIGURATION
) build
21 xcodebuild
-project Adium.xcodeproj
-configuration
$(BUILDCONFIGURATION
) -target
"SQL Logger" build
22 cp
-R
"build/SQL Logger.adiumPlugin" ~
/Library
/Application\ Support
/Adium\
2.0/Plugins
/
25 # cp -R build/Adium.app ~/Applications/
26 # cp -R build/AIUtilities.framework ~/Library/Frameworks/
29 # xcodebuild -alltargets clean
34 mv
"Plugins/Gaim Service" tmp
35 mv
"Plugins/WebKit Message View" tmp
36 genstrings
-o Resources
/English.lproj
-s AILocalizedString Source
/*.m Source
/*.h Plugins
/*/*.h Plugins
/*/*.m Plugins
/*/*/*.h Plugins
/*/*/*.m
"Frameworks/Adium Framework/*.m" "Frameworks/Adium Framework/*.h"
37 genstrings
-o
"tmp/Gaim Service/English.lproj" -s AILocalizedString
"tmp/Gaim Service/*.h" "tmp/Gaim Service/*.m"
38 genstrings
-o
"tmp/WebKit Message View/English.lproj" -s AILocalizedString
"tmp/WebKit Message View/*.h" "tmp/WebKit Message View/*.m"
39 genstrings
-o
"Frameworks/AIUtilities Framework/Resources/English.lproj" -s AILocalizedString
"Frameworks/AIUtilities Framework/Source/*.h" "Frameworks/AIUtilities Framework/Source/*.m"
40 mv
"tmp/Gaim Service" Plugins
41 mv
"tmp/WebKit Message View" Plugins