We now use {{{fork}}}/{{{execl}}} to launch the !ApplescriptRunner.
[adiumx.git] / Makefile
blob04f0bde5b6de1cc7f3272ee0d2c0a84c762c0f78
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 -alltargets clean
32 localizable-strings:
33 mkdir tmp || true
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
42 rmdir tmp || true
44 latest:
45 svn up
46 make adium