Mercurial > hg > easyhg
comparison 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 |
comparison
equal
deleted
inserted
replaced
467:af9d9add23c6 | 468:71523ce87fb7 |
---|---|
1 #!/bin/bash | |
2 | |
3 # Carbon (10.4+ PPC/i386). | |
4 # | |
5 $HOME/qt-builds/qt-471-carbon-10.4u/bin/qmake -spec macx-g++40 || exit | |
6 make clean && make && \ | |
7 cp EasyMercurial.app/Contents/MacOS/EasyMercurial \ | |
8 EasyMercurial.carbon.app/Contents/MacOS/ && \ | |
9 bash deploy/osx/paths.sh EasyMercurial.carbon | |
10 | |
11 # Cocoa (10.6+ x86_64) | |
12 # | |
13 /usr/bin/qmake -spec macx-g++ || exit | |
14 make clean && make && \ | |
15 cp EasyMercurial.app/Contents/MacOS/EasyMercurial \ | |
16 EasyMercurial.cocoa.app/Contents/MacOS/ && \ | |
17 bash deploy/osx/paths.sh EasyMercurial.cocoa | |
18 | |
19 # Complicated lipo business | |
20 # | |
21 bash deploy/osx/combine.sh || exit 1 | |
22 | |
23 # Info.plist etc and make dmg | |
24 bash deploy/osx/deploy.sh EasyMercurial.app EasyMercurial | |
25 | |
26 | |
27 | |
28 |