source: trunk/macosx/Makefile.am @ 3528

Last change on this file since 3528 was 3528, checked in by charles, 15 years ago

get "make distcheck" working again

File size: 2.8 KB
Line 
1EXTRA_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# Use Xcode do make the actual build
88all:
89        @(cd .. && xcodebuild -alltargets -activeconfiguration | grep -v "^$$")
90clean:
91        @(cd .. && xcodebuild -alltargets -activeconfiguration clean | grep -v "^$$")
92
93define PACKAGE_RULE1
94        $(RM) tmp "Transmission $(VERSION_PACKAGE)" \
95          Transmission-$(VERSION_PACKAGE).dmg
96        mkdir -p tmp
97        cp -R macosx/Transmission.app tmp/
98endef
99define PACKAGE_RULE2
100        mv tmp "Transmission $(VERSION_PACKAGE)"
101        hdiutil create -format UDZO -imagekey zlib-level=9 -srcfolder \
102          "Transmission $(VERSION_PACKAGE)" Transmission-$(VERSION_PACKAGE).dmg
103        rm -rf "Transmission $(VERSION_PACKAGE)"
104endef
105
106package:
107        $(PACKAGE_RULE1)
108        $(PACKAGE_RULE2)
109
110package-release:
111        $(PACKAGE_RULE1)
112        strip -S tmp/Transmission.app/Contents/MacOS/Transmission
113        $(PACKAGE_RULE2)
Note: See TracBrowser for help on using the repository browser.