annotate deploy/osx/build-all.sh @ 611:864cf6bc6eff

Fix incorrect signal in recent files action; if hg not found in last location, check for it in path (e.g. if it was previously in an installation-specific location that has since been overridden by a new installation)
author Chris Cannam
date Tue, 03 Jul 2012 15:26:30 +0100
parents 71523ce87fb7
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