2007-07-31 03:21:53 +00:00
|
|
|
EXTRA_DIST = \
|
|
|
|
Sparkle.framework \
|
|
|
|
CTGradient \
|
|
|
|
UKKQueue \
|
|
|
|
TransmissionHelp \
|
|
|
|
Applescript \
|
|
|
|
Images \
|
|
|
|
Growl.framework \
|
2007-08-02 21:30:19 +00:00
|
|
|
English.lproj \
|
2007-08-03 21:28:39 +00:00
|
|
|
Spanish.lproj \
|
2007-08-02 21:30:19 +00:00
|
|
|
Italian.lproj \
|
|
|
|
Russian.lproj \
|
|
|
|
Greek.lproj \
|
2007-07-31 03:21:53 +00:00
|
|
|
Korean.lproj
|
2007-07-31 01:18:50 +00:00
|
|
|
|
2007-07-18 23:04:26 +00:00
|
|
|
# Use Xcode do make the actual build
|
|
|
|
all:
|
2007-07-19 02:04:52 +00:00
|
|
|
@(cd .. && xcodebuild -alltargets -activeconfiguration | grep -v "^$$")
|
2007-07-18 23:04:26 +00:00
|
|
|
clean:
|
2007-07-19 02:04:52 +00:00
|
|
|
@(cd .. && xcodebuild -alltargets -activeconfiguration clean | grep -v "^$$")
|
2007-07-18 23:04:26 +00:00
|
|
|
|
|
|
|
define PACKAGE_RULE1
|
|
|
|
$(RM) tmp "Transmission $(VERSION_PACKAGE)" \
|
|
|
|
Transmission-$(VERSION_PACKAGE).dmg
|
|
|
|
mkdir -p tmp
|
|
|
|
cp -R macosx/Transmission.app tmp/
|
|
|
|
endef
|
|
|
|
define PACKAGE_RULE2
|
|
|
|
mv tmp "Transmission $(VERSION_PACKAGE)"
|
|
|
|
hdiutil create -format UDZO -imagekey zlib-level=9 -srcfolder \
|
|
|
|
"Transmission $(VERSION_PACKAGE)" Transmission-$(VERSION_PACKAGE).dmg
|
|
|
|
rm -rf "Transmission $(VERSION_PACKAGE)"
|
|
|
|
endef
|
|
|
|
|
|
|
|
package:
|
|
|
|
$(PACKAGE_RULE1)
|
|
|
|
$(PACKAGE_RULE2)
|
|
|
|
|
|
|
|
package-release:
|
|
|
|
$(PACKAGE_RULE1)
|
|
|
|
strip -S tmp/Transmission.app/Contents/MacOS/Transmission
|
|
|
|
$(PACKAGE_RULE2)
|