William Bowling is sharing code with you
Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.
Don't show this againadium / Makefile
- commit
- bfdbbb6fd385
- parent
- f7650158eeb5
- branch
- default
Display the unsent message that is passed from libpurple instead of ignoring it. Fixes #13190.
1 |
e22ad6bc8b46
|
PREFIX?= |
2 |
e22ad6bc8b46
|
BUILD_DIR?=$(shell defaults read com.apple.Xcode PBXProductDirectory 2> /dev/null) |
3 |
e22ad6bc8b46
|
|
4 |
e22ad6bc8b46
|
ifeq ($(strip $(BUILD_DIR)),) |
5 |
e22ad6bc8b46
|
BUILD_DIR=build |
6 |
e22ad6bc8b46
|
endif |
7 |
e22ad6bc8b46
|
|
8 |
df3a2492c746
|
DEFAULT_BUILDCONFIGURATION=Release-Debug |
9 |
e22ad6bc8b46
|
|
10 |
e22ad6bc8b46
|
BUILDCONFIGURATION?=$(DEFAULT_BUILDCONFIGURATION) |
11 |
e22ad6bc8b46
|
|
12 |
e22ad6bc8b46
|
CP=ditto --rsrc |
13 |
e22ad6bc8b46
|
RM=rm |
14 |
e22ad6bc8b46
|
|
15 |
e22ad6bc8b46
|
.PHONY: all adium clean localizable-strings latest test astest install |
16 |
e22ad6bc8b46
|
|
17 |
e22ad6bc8b46
|
adium: |
18 |
29be90c112c0
|
xcodebuild -project Adium.xcodeproj -configuration $(BUILDCONFIGURATION) CFLAGS="$(ADIUM_CFLAGS)" build |
19 |
e22ad6bc8b46
|
|
20 |
e22ad6bc8b46
|
test: |
21 |
e22ad6bc8b46
|
xcodebuild -project Adium.xcodeproj -configuration $(BUILDCONFIGURATION) CFLAGS="$(ADIUM_CFLAGS)" -target "Unit tests" build |
22 |
e22ad6bc8b46
|
astest: |
23 |
e22ad6bc8b46
|
osascript unittest\ runner.applescript | tr '\r' '\n' |
24 |
e22ad6bc8b46
|
|
25 |
e22ad6bc8b46
|
install: |
26 |
e22ad6bc8b46
|
cp -R build/$(BUILDCONFIGURATION)/Adium.app ~/Applications/ |
27 |
e22ad6bc8b46
|
|
28 |
e22ad6bc8b46
|
clean: |
29 |
e22ad6bc8b46
|
xcodebuild -project Adium.xcodeproj -configuration $(BUILDCONFIGURATION) clean |
30 |
e22ad6bc8b46
|
|
31 |
e22ad6bc8b46
|
localizable-strings: |
32 |
e22ad6bc8b46
|
mkdir tmp || true |
33 |
e22ad6bc8b46
|
mv "Plugins/Purple Service" tmp |
34 |
e22ad6bc8b46
|
mv "Plugins/WebKit Message View" tmp |
35 |
c13b6d51b354
|
mv "Plugins/Twitter Plugin" tmp |
36 |
e22ad6bc8b46
|
genstrings -o Resources/en.lproj -s AILocalizedString Source/*.m Source/*.h Plugins/*/*.h Plugins/*/*.m Plugins/*/*/*.h Plugins/*/*/*.m |
37 |
e22ad6bc8b46
|
genstrings -o tmp/Purple\ Service/en.lproj -s AILocalizedString tmp/Purple\ Service/*.h tmp/Purple\ Service/*.m |
38 |
e22ad6bc8b46
|
genstrings -o tmp/WebKit\ Message\ View/en.lproj -s AILocalizedString tmp/WebKit\ Message\ View/*.h tmp/WebKit\ Message\ View/*.m |
39 |
c13b6d51b354
|
genstrings -o tmp/Twitter\ Plugin/en.lproj -s AILocalizedString tmp/Twitter\ Plugin/*.h tmp/Twitter\ Plugin/*.m |
40 |
e22ad6bc8b46
|
genstrings -o Frameworks/AIUtilities\ Framework/Resources/en.lproj -s AILocalizedString Frameworks/AIUtilities\ Framework/Source/*.h Frameworks/AIUtilities\ Framework/Source/*.m |
41 |
e22ad6bc8b46
|
genstrings -o Frameworks/Adium\ Framework/Resources/en.lproj -s AILocalizedString Frameworks/Adium\ Framework/Source/*.m Frameworks/Adium\ Framework/Source/*.h |
42 |
e22ad6bc8b46
|
mv "tmp/Purple Service" Plugins |
43 |
e22ad6bc8b46
|
mv "tmp/WebKit Message View" Plugins |
44 |
c13b6d51b354
|
mv "tmp/Twitter Plugin" Plugins |
45 |
e22ad6bc8b46
|
rmdir tmp || true |
46 |
e22ad6bc8b46
|
|
47 |
e22ad6bc8b46
|
latest: |
48 |
6304d1ccfdb6
|
hg pull -u |
49 |
e22ad6bc8b46
|
make adium |