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