changeset 468:71523ce87fb7

Add overall OS/X build script
author Chris Cannam
date Mon, 04 Jul 2011 14:22:13 +0100 (2011-07-04)
parents af9d9add23c6
children d63711ff6740
files deploy/osx/build-all.sh
diffstat 1 files changed, 28 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/deploy/osx/build-all.sh	Mon Jul 04 14:22:13 2011 +0100
@@ -0,0 +1,28 @@
+#!/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
+
+
+
+