|
|
@ -1,3 +1,4 @@ |
|
|
|
|
|
|
|
#!/bin/bash |
|
|
|
# -------------------------------------------------------------------- |
|
|
|
# -------------------------------------------------------------------- |
|
|
|
# This program is free software: you can redistribute it and/or modify |
|
|
|
# This program is free software: you can redistribute it and/or modify |
|
|
|
# it under the terms of the GNU General Public License as published by |
|
|
|
# it under the terms of the GNU General Public License as published by |
|
|
@ -13,8 +14,6 @@ |
|
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>. |
|
|
|
# --------------------------------------------------------------------- |
|
|
|
# --------------------------------------------------------------------- |
|
|
|
|
|
|
|
|
|
|
|
#!/bin/bash |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Executables |
|
|
|
# Executables |
|
|
|
QMAKE="/usr/local/Trolltech/Qt-4.7.3/bin/qmake" |
|
|
|
QMAKE="/usr/local/Trolltech/Qt-4.7.3/bin/qmake" |
|
|
|
MACDEPLOYQT="`pwd`/../Qt-sankore3.1/bin/macdeployqt" |
|
|
|
MACDEPLOYQT="`pwd`/../Qt-sankore3.1/bin/macdeployqt" |
|
|
@ -103,11 +102,11 @@ if [ $? != 0 ]; then |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
NAME="Open-Sankoré" |
|
|
|
NAME="Open-Sankore" |
|
|
|
|
|
|
|
|
|
|
|
DMG="$NAME.dmg" |
|
|
|
DMG="$NAME.dmg" |
|
|
|
VOLUME="/Volumes/$NAME" |
|
|
|
VOLUME="/Volumes/$NAME" |
|
|
|
APP="$PRODUCT_DIR/Open-Sankoré.app" |
|
|
|
APP="$PRODUCT_DIR/Open-Sankore.app" |
|
|
|
DSYM_NAME="$NAME (r$SVN_REVISION).dSYM" |
|
|
|
DSYM_NAME="$NAME (r$SVN_REVISION).dSYM" |
|
|
|
DSYM="$PRODUCT_DIR/$DSYM_NAME" |
|
|
|
DSYM="$PRODUCT_DIR/$DSYM_NAME" |
|
|
|
GSYM_i386="$PRODUCT_DIR/$NAME i386.sym" |
|
|
|
GSYM_i386="$PRODUCT_DIR/$NAME i386.sym" |
|
|
@ -128,8 +127,8 @@ notify "Bulding frameworks ..." |
|
|
|
$MACDEPLOYQT "$APP" |
|
|
|
$MACDEPLOYQT "$APP" |
|
|
|
|
|
|
|
|
|
|
|
notify "Extracting debug information ..." |
|
|
|
notify "Extracting debug information ..." |
|
|
|
$DSYMUTIL "$APP/Contents/MacOS/Open-Sankoré" -o "$DSYM" |
|
|
|
$DSYMUTIL "$APP/Contents/MacOS/Open-Sankore" -o "$DSYM" |
|
|
|
$STRIP -S "$APP/Contents/MacOS/Open-Sankoré" |
|
|
|
$STRIP -S "$APP/Contents/MacOS/Open-Sankore" |
|
|
|
|
|
|
|
|
|
|
|
notify "Creating dmg ..." |
|
|
|
notify "Creating dmg ..." |
|
|
|
umount "$VOLUME" 2> /dev/null |
|
|
|
umount "$VOLUME" 2> /dev/null |
|
|
|