source: branches/1.3x/macosx/Makefile.am @ 6659

Last change on this file since 6659 was 6659, checked in by livings124, 14 years ago

1.3x: update the list of mac files to include in the tarball

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