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
-project Adium.xcodeproj
-configuration
$(BUILDCONFIGURATION
) clean
34 mv
"Plugins/Gaim Service" tmp
35 mv
"Plugins/WebKit Message View" tmp
36 mv
"Plugins/joscar Service" tmp
37 genstrings
-o Resources
/English.lproj
-s AILocalizedString Source
/*.m Source
/*.h Plugins
/*/*.h Plugins
/*/*.m Plugins
/*/*/*.h Plugins
/*/*/*.m
38 genstrings
-o tmp
/Gaim\ Service
/English.lproj
-s AILocalizedString tmp
/Gaim\ Service
/*.h tmp
/Gaim\ Service
/*.m
39 genstrings
-o tmp
/WebKit\ Message\ View
/English.lproj
-s AILocalizedString tmp
/WebKit\ Message\ View
/*.h tmp
/WebKit\ Message\ View
/*.m
40 genstrings
-o tmp
/joscar\ Service
/English.lproj
-s AILocalizedString tmp
/joscar\ Service
/*.h tmp
/joscar\ Service
/*.m
41 genstrings
-o Frameworks
/AIUtilities\ Framework
/Resources
/English.lproj
-s AILocalizedString Frameworks
/AIUtilities\ Framework
/Source
/*.h Frameworks
/AIUtilities\ Framework
/Source
/*.m
42 genstrings
-o Frameworks
/Adium\ Framework
/Resources
/English.lproj
-s AILocalizedString Frameworks
/Adium\ Framework
/Source
/*.m Frameworks
/Adium\ Framework
/Source
/*.h
43 mv
"tmp/Gaim Service" Plugins
44 mv
"tmp/WebKit Message View" Plugins
45 mv
"tmp/joscar Service" Plugins