Chris@468: #!/bin/bash Chris@468: Chris@468: # Carbon (10.4+ PPC/i386). Chris@468: # Chris@468: $HOME/qt-builds/qt-471-carbon-10.4u/bin/qmake -spec macx-g++40 || exit Chris@468: make clean && make && \ Chris@468: cp EasyMercurial.app/Contents/MacOS/EasyMercurial \ Chris@468: EasyMercurial.carbon.app/Contents/MacOS/ && \ Chris@468: bash deploy/osx/paths.sh EasyMercurial.carbon Chris@468: Chris@468: # Cocoa (10.6+ x86_64) Chris@468: # Chris@468: /usr/bin/qmake -spec macx-g++ || exit Chris@468: make clean && make && \ Chris@468: cp EasyMercurial.app/Contents/MacOS/EasyMercurial \ Chris@468: EasyMercurial.cocoa.app/Contents/MacOS/ && \ Chris@468: bash deploy/osx/paths.sh EasyMercurial.cocoa Chris@468: Chris@468: # Complicated lipo business Chris@468: # Chris@468: bash deploy/osx/combine.sh || exit 1 Chris@468: Chris@468: # Info.plist etc and make dmg Chris@468: bash deploy/osx/deploy.sh EasyMercurial.app EasyMercurial Chris@468: Chris@468: Chris@468: Chris@468: