Line | |
---|
1 | EXTRA_DIST = \ |
---|
2 | Sparkle.framework \ |
---|
3 | CTGradient \ |
---|
4 | UKKQueue \ |
---|
5 | TransmissionHelp \ |
---|
6 | Applescript \ |
---|
7 | Images \ |
---|
8 | Growl.framework \ |
---|
9 | English.lproj \ |
---|
10 | el.lproj \ |
---|
11 | es.lproj \ |
---|
12 | fr.lproj \ |
---|
13 | it.lproj \ |
---|
14 | ko.lproj \ |
---|
15 | ru.lproj \ |
---|
16 | nl.lproj |
---|
17 | |
---|
18 | # Use Xcode do make the actual build |
---|
19 | all: |
---|
20 | @(cd .. && xcodebuild -alltargets -activeconfiguration | grep -v "^$$") |
---|
21 | clean: |
---|
22 | @(cd .. && xcodebuild -alltargets -activeconfiguration clean | grep -v "^$$") |
---|
23 | |
---|
24 | define PACKAGE_RULE1 |
---|
25 | $(RM) tmp "Transmission $(VERSION_PACKAGE)" \ |
---|
26 | Transmission-$(VERSION_PACKAGE).dmg |
---|
27 | mkdir -p tmp |
---|
28 | cp -R macosx/Transmission.app tmp/ |
---|
29 | endef |
---|
30 | define PACKAGE_RULE2 |
---|
31 | mv tmp "Transmission $(VERSION_PACKAGE)" |
---|
32 | hdiutil create -format UDZO -imagekey zlib-level=9 -srcfolder \ |
---|
33 | "Transmission $(VERSION_PACKAGE)" Transmission-$(VERSION_PACKAGE).dmg |
---|
34 | rm -rf "Transmission $(VERSION_PACKAGE)" |
---|
35 | endef |
---|
36 | |
---|
37 | package: |
---|
38 | $(PACKAGE_RULE1) |
---|
39 | $(PACKAGE_RULE2) |
---|
40 | |
---|
41 | package-release: |
---|
42 | $(PACKAGE_RULE1) |
---|
43 | strip -S tmp/Transmission.app/Contents/MacOS/Transmission |
---|
44 | $(PACKAGE_RULE2) |
---|
Note: See
TracBrowser
for help on using the repository browser.