source: trunk/macosx/Makefile.am @ 2400

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

part one of moving the build environment over to automake/autoconf. beware!

File size: 751 bytes
Line 
1# Use Xcode do make the actual build
2all:
3        @xcodebuild -alltargets -activeconfiguration | grep -v "^$$"
4clean:
5        @xcodebuild -alltargets -activeconfiguration clean | grep -v "^$$"
6
7define PACKAGE_RULE1
8        $(RM) tmp "Transmission $(VERSION_PACKAGE)" \
9          Transmission-$(VERSION_PACKAGE).dmg
10        mkdir -p tmp
11        cp -R macosx/Transmission.app tmp/
12endef
13define PACKAGE_RULE2
14        mv tmp "Transmission $(VERSION_PACKAGE)"
15        hdiutil create -format UDZO -imagekey zlib-level=9 -srcfolder \
16          "Transmission $(VERSION_PACKAGE)" Transmission-$(VERSION_PACKAGE).dmg
17        rm -rf "Transmission $(VERSION_PACKAGE)"
18endef
19
20package:
21        $(PACKAGE_RULE1)
22        $(PACKAGE_RULE2)
23
24package-release:
25        $(PACKAGE_RULE1)
26        strip -S tmp/Transmission.app/Contents/MacOS/Transmission
27        $(PACKAGE_RULE2)
Note: See TracBrowser for help on using the repository browser.