Contacts on offline accounts can not be messaged; show the send later sheet. Refuse...
[adiumx.git] / Makefile
blob2d0b7b984ff805b5339b6bfc3ef612b4548bdb38
1 PREFIX?=
2 BUILD_DIR?=$(shell defaults read com.apple.Xcode PBXProductDirectory 2> /dev/null)
4 ifeq ($(strip $(BUILD_DIR)),)
5 BUILD_DIR=build
6 endif
8 DEFAULT_BUILDCONFIGURATION=Deployment-Debug
10 BUILDCONFIGURATION?=$(DEFAULT_BUILDCONFIGURATION)
12 CP=ditto --rsrc
13 RM=rm
15 .PHONY: all adium clean localizable-strings latest
17 adium:
18 xcodebuild -project Adium.xcodeproj -configuration $(BUILDCONFIGURATION) build
20 SQLLogger:
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/
24 #install:
25 # cp -R build/Adium.app ~/Applications/
26 # cp -R build/AIUtilities.framework ~/Library/Frameworks/
28 clean:
29 xcodebuild -project Adium.xcodeproj -configuration $(BUILDCONFIGURATION) clean
32 localizable-strings:
33 mkdir tmp || true
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
46 rmdir tmp || true
48 latest:
49 svn up
50 make adium