source: trunk/macosx/Makefile.am @ 5868

Last change on this file since 5868 was 5868, checked in by charles, 14 years ago

(#954) rpc: add "torrent-remove" method. rename tr_torrentDelete() as tr_torrentRemove() for consistency with various parts of the code.

File size: 3.1 KB
Line 
1EXTRA_DIST = \
2    Credits.rtf \
3    AboutWindow.xib \
4    GroupsWindow.xib \
5    Defaults.plist \
6    Info.plist.in \
7    Transmission_Prefix.pch \
8    version.sh \
9    Sparkle.framework \
10    CTGradient \
11    UKKQueue \
12    TransmissionHelp \
13    Applescript \
14    Images \
15    Growl.framework \
16    English.lproj \
17    es.lproj \
18    fr.lproj \
19    nl.lproj \
20    ru.lproj \
21    AboutWindowController.h \
22    AboutWindowController.m \
23    ActionPopUpButton.h \
24    ActionPopUpButton.m \
25    Badger.h \
26    Badger.m \
27    BadgeView.h \
28    BadgeView.m \
29    ButtonToolbarItem.h \
30    ButtonToolbarItem.m \
31    Controller.h \
32    Controller.m \
33    CreatorWindowController.h \
34    CreatorWindowController.m \
35    DragOverlayView.h \
36    DragOverlayView.m \
37    DragOverlayWindow.h \
38    DragOverlayWindow.m \
39    ExpandedPathToIconTransformer.h \
40    ExpandedPathToIconTransformer.m \
41    ExpandedPathToPathTransformer.h \
42    ExpandedPathToPathTransformer.m \
43    FileNameCell.h \
44    FileNameCell.m \
45    FileOutlineView.h \
46    FileOutlineView.m \
47    FilePriorityCell.h \
48    FilePriorityCell.m \
49    FilterButton.h \
50    FilterButton.m \
51    GroupsWindowController.h \
52    GroupsWindowController.m \
53    GroupToolbarItem.h \
54    GroupToolbarItem.m \
55    InfoTabButtonCell.h \
56    InfoTabButtonCell.m \
57    InfoWindowController.h \
58    InfoWindowController.m \
59    main.m \
60    MenuLabel.h \
61    MenuLabel.m \
62    MessageWindowController.h \
63    MessageWindowController.m \
64    NSApplicationAdditions.h \
65    NSApplicationAdditions.m \
66    NSBezierPathAdditions.h \
67    NSBezierPathAdditions.m \
68    NSMenuAdditions.h \
69    NSMenuAdditions.m \
70    NSStringAdditions.h \
71    NSStringAdditions.m \
72    PeerProgressIndicatorCell.h \
73    PeerProgressIndicatorCell.m \
74    PeerTableView.h \
75    PeerTableView.m \
76    PiecesView.h \
77    PiecesView.m \
78    PortChecker.h \
79    PortChecker.m \
80    PrefsController.h \
81    PrefsController.m \
82    PrefsWindow.h \
83    PrefsWindow.m \
84    SpeedLimitToTurtleIconTransformer.h \
85    SpeedLimitToTurtleIconTransformer.m \
86    StatsWindowController.h \
87    StatsWindowController.m \
88    StatusBarView.h \
89    StatusBarView.m \
90    ToolbarSegmentedCell.h \
91    ToolbarSegmentedCell.m \
92    TorrentCell.h \
93    TorrentCell.m \
94    Torrent.h \
95    Torrent.m \
96    TorrentTableView.h \
97    TorrentTableView.m
98
99dist-hook:
100        rm -rf `find $(distdir)/ -type d -name .svn`
101        rm -rf `find $(distdir)/ -type d -name .deps`
102
103# Use Xcode do make the actual build
104all:
105        @(cd .. && xcodebuild -alltargets -activeconfiguration | grep -v "^$$")
106clean:
107        @(cd .. && xcodebuild -alltargets -activeconfiguration clean | grep -v "^$$")
108
109define PACKAGE_RULE1
110        $(RM) tmp "Transmission $(VERSION_PACKAGE)" \
111          Transmission-$(VERSION_PACKAGE).dmg
112        mkdir -p tmp
113        cp -R macosx/Transmission.app tmp/
114endef
115define PACKAGE_RULE2
116        mv tmp "Transmission $(VERSION_PACKAGE)"
117        hdiutil create -format UDZO -imagekey zlib-level=9 -srcfolder \
118          "Transmission $(VERSION_PACKAGE)" Transmission-$(VERSION_PACKAGE).dmg
119        rm -rf "Transmission $(VERSION_PACKAGE)"
120endef
121
122package:
123        $(PACKAGE_RULE1)
124        $(PACKAGE_RULE2)
125
126package-release:
127        $(PACKAGE_RULE1)
128        strip -S tmp/Transmission.app/Contents/MacOS/Transmission
129        $(PACKAGE_RULE2)
Note: See TracBrowser for help on using the repository browser.