view deploy/osx/build-all.sh @ 590:8bcf7ce9b1d2 easyhg_v1.2_win32_2

Installer fixes: Install to main EasyHg dir not versioned subdir; install icon
author Chris Cannam <chris.cannam@eecs.qmul.ac.uk>
date Thu, 15 Mar 2012 15:23:34 +0000
parents 71523ce87fb7
children
line wrap: on
line source
#!/bin/bash

# Carbon (10.4+ PPC/i386). 
#
$HOME/qt-builds/qt-471-carbon-10.4u/bin/qmake -spec macx-g++40 || exit 
make clean && make && \
	cp EasyMercurial.app/Contents/MacOS/EasyMercurial \
	   EasyMercurial.carbon.app/Contents/MacOS/ && \
	bash deploy/osx/paths.sh EasyMercurial.carbon

# Cocoa (10.6+ x86_64)
#
/usr/bin/qmake -spec macx-g++ || exit
make clean && make && \
        cp EasyMercurial.app/Contents/MacOS/EasyMercurial \
           EasyMercurial.cocoa.app/Contents/MacOS/ && \
	bash deploy/osx/paths.sh EasyMercurial.cocoa

# Complicated lipo business
#
bash deploy/osx/combine.sh || exit 1

# Info.plist etc and make dmg
bash deploy/osx/deploy.sh EasyMercurial.app EasyMercurial