source: trunk/macosx/Makefile.am @ 6326

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

bring the mac Makefile.am up-to-date

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