Combine WebKit, Twitter and normal Localizable.strings into one; they're not in separate plugins. Fixes #13276.
2 BUILD_DIR?=$(shell defaults read com.apple.Xcode PBXProductDirectory 2> /dev/null)
4 ifeq ($(strip $(BUILD_DIR)),)
8 DEFAULT_BUILDCONFIGURATION=Release-Debug
10 BUILDCONFIGURATION?=$(DEFAULT_BUILDCONFIGURATION)
15 .PHONY: all adium clean localizable-strings latest test astest install
18 xcodebuild -project Adium.xcodeproj -configuration $(BUILDCONFIGURATION) CFLAGS="$(ADIUM_CFLAGS)" build
21 xcodebuild -project Adium.xcodeproj -configuration $(BUILDCONFIGURATION) CFLAGS="$(ADIUM_CFLAGS)" -target "Unit tests" build
23 osascript unittest\ runner.applescript | tr '\r' '\n'
26 cp -R build/$(BUILDCONFIGURATION)/Adium.app ~/Applications/
29 xcodebuild -project Adium.xcodeproj -configuration $(BUILDCONFIGURATION) clean
33 mv "Plugins/Purple Service" tmp
34 mv "Plugins/WebKit Message View" tmp
35 mv "Plugins/Twitter Plugin" tmp
36 genstrings -o Resources/en.lproj -s AILocalizedString Source/*.m Source/*.h Plugins/*/*.h Plugins/*/*.m Plugins/*/*/*.h Plugins/*/*/*.m tmp/WebKit\ Message\ View/*.h tmp/WebKit\ Message\ View/*.m tmp/Twitter\ Plugin/*.h tmp/Twitter\ Plugin/*.m
37 genstrings -o tmp/Purple\ Service/en.lproj -s AILocalizedString tmp/Purple\ Service/*.h tmp/Purple\ Service/*.m
38 genstrings -o Frameworks/AIUtilities\ Framework/Resources/en.lproj -s AILocalizedString Frameworks/AIUtilities\ Framework/Source/*.h Frameworks/AIUtilities\ Framework/Source/*.m
39 genstrings -o Frameworks/Adium\ Framework/Resources/en.lproj -s AILocalizedString Frameworks/Adium\ Framework/Source/*.m Frameworks/Adium\ Framework/Source/*.h
40 mv "tmp/Purple Service" Plugins
41 mv "tmp/WebKit Message View" Plugins
42 mv "tmp/Twitter Plugin" Plugins