1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-29 11:06:23 +00:00
transmission/macosx/Makefile.am

151 lines
3.7 KiB
Text
Raw Normal View History

2007-09-16 01:02:06 +00:00
EXTRA_DIST = \
2008-02-03 00:51:12 +00:00
Credits.rtf \
AboutWindow.xib \
BlocklistStatusWindow.xib \
MessageWindow.xib \
StatsWindow.xib \
2008-02-03 00:51:12 +00:00
Defaults.plist \
Info.plist \
2008-02-03 00:51:12 +00:00
Transmission_Prefix.pch \
Growl.framework \
2007-09-16 01:02:06 +00:00
Sparkle.framework \
sparkle_dsa_pub.pem \
2007-09-16 01:02:06 +00:00
UKKQueue \
TransmissionHelp \
Images \
2008-07-12 12:38:05 +00:00
en.lproj \
es.lproj \
fr.lproj \
2008-07-12 12:38:05 +00:00
it.lproj \
2008-01-03 05:40:22 +00:00
nl.lproj \
ru.lproj \
tr.lproj \
2008-07-12 12:38:05 +00:00
zh_TW.lproj \
2007-10-24 17:20:50 +00:00
AboutWindowController.h \
AboutWindowController.m \
AddWindowController.h \
AddWindowController.m \
2007-10-24 17:20:50 +00:00
Badger.h \
Badger.m \
BadgeView.h \
BadgeView.m \
BlocklistDownloader.h \
BlocklistDownloader.m \
BlocklistDownloaderViewController.h \
BlocklistDownloaderViewController.m \
BlocklistScheduler.h \
BlocklistScheduler.m \
BonjourController.h \
BonjourController.m \
ButtonToolbarItem.h \
ButtonToolbarItem.m \
ColorTextField.h \
ColorTextField.m \
2007-10-24 17:20:50 +00:00
Controller.h \
Controller.m \
CreatorWindowController.h \
CreatorWindowController.m \
DragOverlayView.h \
DragOverlayView.m \
DragOverlayWindow.h \
DragOverlayWindow.m \
ExpandedPathToIconTransformer.h \
ExpandedPathToIconTransformer.m \
ExpandedPathToPathTransformer.h \
ExpandedPathToPathTransformer.m \
FileListNode.h \
FileListNode.m \
2007-10-24 17:20:50 +00:00
FileNameCell.h \
FileNameCell.m \
FileOutlineController.h \
FileOutlineController.m \
2007-10-24 17:20:50 +00:00
FileOutlineView.h \
FileOutlineView.m \
FilePriorityCell.h \
FilePriorityCell.m \
FilterButton.h \
FilterButton.m \
GroupsController.h \
GroupsController.m \
GroupsPrefsController.h \
GroupsPrefsController.m \
GroupToolbarItem.h \
GroupToolbarItem.m \
2007-10-24 17:20:50 +00:00
InfoTabButtonCell.h \
InfoTabButtonCell.m \
InfoWindowController.h \
InfoWindowController.m \
main.m \
MessageWindowController.h \
MessageWindowController.m \
NSStringAdditions.h \
NSStringAdditions.m \
PeerProgressIndicatorCell.h \
PeerProgressIndicatorCell.m \
PeerTableView.h \
PeerTableView.m \
PiecesView.h \
PiecesView.m \
PortChecker.h \
PortChecker.m \
PredicateEditorRowTemplateAny.h \
PredicateEditorRowTemplateAny.m \
2007-10-24 17:20:50 +00:00
PrefsController.h \
PrefsController.m \
PrefsWindow.h \
PrefsWindow.m \
ProgressGradients.h \
ProgressGradients.m \
StatsWindowController.h \
StatsWindowController.m \
2007-10-24 17:20:50 +00:00
StatusBarView.h \
StatusBarView.m \
ToolbarSegmentedCell.h \
ToolbarSegmentedCell.m \
TorrentCell.h \
TorrentCell.m \
TorrentGroup.h \
TorrentGroup.m \
Torrent.h \
Torrent.m \
2007-10-24 17:20:50 +00:00
TorrentTableView.h \
TorrentTableView.m \
2009-09-28 04:41:56 +00:00
TrackerCell.h \
TrackerCell.m \
TrackerNode.h \
TrackerNode.m \
TrackerTableView.h \
TrackerTableView.m
2007-09-16 01:02:06 +00:00
dist-hook:
rm -rf `find $(distdir)/ -type d -name .svn`
rm -rf `find $(distdir)/ -type d -name .deps`
2007-09-16 01:02:06 +00:00
# Use Xcode do make the actual build
all:
@(cd .. && xcodebuild -alltargets -activeconfiguration | grep -v "^$$")
clean:
@(cd .. && xcodebuild -alltargets -activeconfiguration clean | grep -v "^$$")
define PACKAGE_RULE1
$(RM) tmp "Transmission $(VERSION_PACKAGE)" \
Transmission-$(VERSION_PACKAGE).dmg
mkdir -p tmp
cp -R macosx/Transmission.app tmp/
endef
define PACKAGE_RULE2
mv tmp "Transmission $(VERSION_PACKAGE)"
hdiutil create -format UDZO -imagekey zlib-level=9 -srcfolder \
"Transmission $(VERSION_PACKAGE)" Transmission-$(VERSION_PACKAGE).dmg
rm -rf "Transmission $(VERSION_PACKAGE)"
endef
package:
$(PACKAGE_RULE1)
$(PACKAGE_RULE2)
package-release:
$(PACKAGE_RULE1)
strip -S tmp/Transmission.app/Contents/MacOS/Transmission
$(PACKAGE_RULE2)