root/tags/perian-0.5/Makefile

Revision 88, 1.7 kB (checked in by tick, 2 years ago)

- Making the Release Makefile build Perian.
- For the curions, the Makefile build system was originally pioneered by Ingmar and company for Growl. The specific purpose was to get rid of the need for a specific bit of software that didn't work very well. I copied it over to Adium, Evan Schoenberg improved it from there. One thing to note though is that it requires a Makefile at the top level as well (or wherever you specify the variable for it).
- This fixes #7

Line 
1 PREFIX?=
2 BUILD_DIR?=$(shell defaults read com.apple.Xcode PBXProductDirectory 2> /dev/null)
3
4 ifeq ($(strip $(BUILD_DIR)),)
5         BUILD_DIR=build
6 endif
7
8 DEFAULT_BUILDCONFIGURATION=Deployment
9
10 BUILDCONFIGURATION?=$(DEFAULT_BUILDCONFIGURATION)
11
12 CP=ditto --rsrc
13 RM=rm
14
15 .PHONY: all perian clean latest
16
17 perian:
18         xcodebuild -project Perian.xcodeproj -configuration $(BUILDCONFIGURATION) build
19
20
21 #install:
22 #           cp -R build/Adium.app ~/Applications/
23 #           cp -R build/AIUtilities.framework ~/Library/Frameworks/
24
25 clean:
26         xcodebuild -project Perian.xcodeproj -configuration $(BUILDCONFIGURATION)  clean
27
28
29 #localizable-strings:
30 #       mkdir tmp || true
31 #       mv "Plugins/Gaim Service" tmp
32 #       mv "Plugins/WebKit Message View" tmp
33 #       mv "Plugins/joscar Service" tmp
34 #       genstrings -o Resources/English.lproj -s AILocalizedString Source/*.m Source/*.h Plugins/*/*.h Plugins/*/*.m Plugins/*/*/*.h Plugins/*/*/*.m
35 #       genstrings -o tmp/Gaim\ Service/English.lproj -s AILocalizedString tmp/Gaim\ Service/*.h tmp/Gaim\ Service/*.m
36 #       genstrings -o tmp/WebKit\ Message\ View/English.lproj -s AILocalizedString tmp/WebKit\ Message\ View/*.h tmp/WebKit\ Message\ View/*.m
37 #       genstrings -o tmp/joscar\ Service/English.lproj -s AILocalizedString tmp/joscar\ Service/*.h tmp/joscar\ Service/*.m
38 #       genstrings -o Frameworks/AIUtilities\ Framework/Resources/English.lproj -s AILocalizedString Frameworks/AIUtilities\ Framework/Source/*.h Frameworks/AIUtilities\ Framework/Source/*.m
39 #       genstrings -o Frameworks/Adium\ Framework/Resources/English.lproj -s AILocalizedString Frameworks/Adium\ Framework/Source/*.m Frameworks/Adium\ Framework/Source/*.h
40 #       mv "tmp/Gaim Service" Plugins
41 #       mv "tmp/WebKit Message View" Plugins
42 #       mv "tmp/joscar Service" Plugins
43 #       rmdir tmp || true
44
45 latest:
46         svn up
47         make perian
Note: See TracBrowser for help on using the browser.