annotate deploy/osx/build-all.sh @ 468:71523ce87fb7

Add overall OS/X build script
author Chris Cannam
date Mon, 04 Jul 2011 14:22:13 +0100
parents
children
rev   line source
Chris@468 1 #!/bin/bash
Chris@468 2
Chris@468 3 # Carbon (10.4+ PPC/i386).
Chris@468 4 #
Chris@468 5 $HOME/qt-builds/qt-471-carbon-10.4u/bin/qmake -spec macx-g++40 || exit
Chris@468 6 make clean && make && \
Chris@468 7 cp EasyMercurial.app/Contents/MacOS/EasyMercurial \
Chris@468 8 EasyMercurial.carbon.app/Contents/MacOS/ && \
Chris@468 9 bash deploy/osx/paths.sh EasyMercurial.carbon
Chris@468 10
Chris@468 11 # Cocoa (10.6+ x86_64)
Chris@468 12 #
Chris@468 13 /usr/bin/qmake -spec macx-g++ || exit
Chris@468 14 make clean && make && \
Chris@468 15 cp EasyMercurial.app/Contents/MacOS/EasyMercurial \
Chris@468 16 EasyMercurial.cocoa.app/Contents/MacOS/ && \
Chris@468 17 bash deploy/osx/paths.sh EasyMercurial.cocoa
Chris@468 18
Chris@468 19 # Complicated lipo business
Chris@468 20 #
Chris@468 21 bash deploy/osx/combine.sh || exit 1
Chris@468 22
Chris@468 23 # Info.plist etc and make dmg
Chris@468 24 bash deploy/osx/deploy.sh EasyMercurial.app EasyMercurial
Chris@468 25
Chris@468 26
Chris@468 27
Chris@468 28