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 | AboutWindowController.h \ |
---|
16 | AboutWindowController.m \ |
---|
17 | ActionMenuRatioToDisplayRatioTransformer.h \ |
---|
18 | ActionMenuRatioToDisplayRatioTransformer.m \ |
---|
19 | ActionMenuSpeedToDisplayLimitTransformer.h \ |
---|
20 | ActionMenuSpeedToDisplayLimitTransformer.m \ |
---|
21 | ActionPopUpButton.h \ |
---|
22 | ActionPopUpButton.m \ |
---|
23 | Badger.h \ |
---|
24 | Badger.m \ |
---|
25 | Controller.h \ |
---|
26 | Controller.m \ |
---|
27 | CreatorWindowController.h \ |
---|
28 | CreatorWindowController.m \ |
---|
29 | DragOverlayView.h \ |
---|
30 | DragOverlayView.m \ |
---|
31 | DragOverlayWindow.h \ |
---|
32 | DragOverlayWindow.m \ |
---|
33 | ExpandedPathToIconTransformer.h \ |
---|
34 | ExpandedPathToIconTransformer.m \ |
---|
35 | ExpandedPathToPathTransformer.h \ |
---|
36 | ExpandedPathToPathTransformer.m \ |
---|
37 | FileNameCell.h \ |
---|
38 | FileNameCell.m \ |
---|
39 | FileOutlineView.h \ |
---|
40 | FileOutlineView.m \ |
---|
41 | FilePriorityCell.h \ |
---|
42 | FilePriorityCell.m \ |
---|
43 | FilterBarButton.h \ |
---|
44 | FilterBarButton.m \ |
---|
45 | FilterBarView.h \ |
---|
46 | FilterBarView.m \ |
---|
47 | ImageBackgroundView.h \ |
---|
48 | ImageBackgroundView.m \ |
---|
49 | InfoTabButtonCell.h \ |
---|
50 | InfoTabButtonCell.m \ |
---|
51 | InfoWindowController.h \ |
---|
52 | InfoWindowController.m \ |
---|
53 | IPCController.h \ |
---|
54 | IPCController.m \ |
---|
55 | main.m \ |
---|
56 | MessageWindowController.h \ |
---|
57 | MessageWindowController.m \ |
---|
58 | NSBezierPathAdditions.h \ |
---|
59 | NSBezierPathAdditions.m \ |
---|
60 | NSMenuAdditions.h \ |
---|
61 | NSMenuAdditions.m \ |
---|
62 | NSStringAdditions.h \ |
---|
63 | NSStringAdditions.m \ |
---|
64 | PeerProgressIndicatorCell.h \ |
---|
65 | PeerProgressIndicatorCell.m \ |
---|
66 | PeerTableView.h \ |
---|
67 | PeerTableView.m \ |
---|
68 | PiecesView.h \ |
---|
69 | PiecesView.m \ |
---|
70 | PortChecker.h \ |
---|
71 | PortChecker.m \ |
---|
72 | PrefsController.h \ |
---|
73 | PrefsController.m \ |
---|
74 | PrefsWindow.h \ |
---|
75 | PrefsWindow.m \ |
---|
76 | SpeedLimitToTurtleIconTransformer.h \ |
---|
77 | SpeedLimitToTurtleIconTransformer.m \ |
---|
78 | StatusBarView.h \ |
---|
79 | StatusBarView.m \ |
---|
80 | TorrentCell.h \ |
---|
81 | TorrentCell.m \ |
---|
82 | Torrent.h \ |
---|
83 | Torrent.m \ |
---|
84 | TorrentTableView.h \ |
---|
85 | TorrentTableView.m |
---|
86 | |
---|
87 | dist-hook: |
---|
88 | rm -rf `find $(distdir)/macosx -name ".svn"` |
---|
89 | |
---|
90 | # Use Xcode do make the actual build |
---|
91 | all: |
---|
92 | @(cd .. && xcodebuild -alltargets -activeconfiguration | grep -v "^$$") |
---|
93 | clean: |
---|
94 | @(cd .. && xcodebuild -alltargets -activeconfiguration clean | grep -v "^$$") |
---|
95 | |
---|
96 | define PACKAGE_RULE1 |
---|
97 | $(RM) tmp "Transmission $(VERSION_PACKAGE)" \ |
---|
98 | Transmission-$(VERSION_PACKAGE).dmg |
---|
99 | mkdir -p tmp |
---|
100 | cp -R macosx/Transmission.app tmp/ |
---|
101 | endef |
---|
102 | define PACKAGE_RULE2 |
---|
103 | mv tmp "Transmission $(VERSION_PACKAGE)" |
---|
104 | hdiutil create -format UDZO -imagekey zlib-level=9 -srcfolder \ |
---|
105 | "Transmission $(VERSION_PACKAGE)" Transmission-$(VERSION_PACKAGE).dmg |
---|
106 | rm -rf "Transmission $(VERSION_PACKAGE)" |
---|
107 | endef |
---|
108 | |
---|
109 | package: |
---|
110 | $(PACKAGE_RULE1) |
---|
111 | $(PACKAGE_RULE2) |
---|
112 | |
---|
113 | package-release: |
---|
114 | $(PACKAGE_RULE1) |
---|
115 | strip -S tmp/Transmission.app/Contents/MacOS/Transmission |
---|
116 | $(PACKAGE_RULE2) |
---|