summaryrefslogtreecommitdiffstats
path: root/packaging/macosx/make-package.sh
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-02 15:49:08 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-02 22:26:36 -0800
commit3212bfdf99cfed7f0ee26ec9536ece76ca090b23 (patch)
tree7dff300d84e46f18dadd60f0c46178fff7b3569f /packaging/macosx/make-package.sh
parent8a312616b04d0216dfe04254717f815bc29a900f (diff)
downloadsubsurface-3212bfdf99cfed7f0ee26ec9536ece76ca090b23.tar.gz
Small tweaks to the Mac package making scripts
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging/macosx/make-package.sh')
-rwxr-xr-xpackaging/macosx/make-package.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/packaging/macosx/make-package.sh b/packaging/macosx/make-package.sh
index 67e7c76c6..e820b1588 100755
--- a/packaging/macosx/make-package.sh
+++ b/packaging/macosx/make-package.sh
@@ -20,17 +20,17 @@ VERSION=$(./scripts/get-version linux)
# first build and install Subsurface and then clean up the staging area
-sudo rm -rf ./Subsurface.app
-make
-sudo make mac-deploy
-sudo install_name_tool -change /Users/hohndel/src/marble/install/libssrfmarblewidget.0.19.2.dylib @executable_path/../Frameworks/libssrfmarblewidget.0.19.2.dylib Subsurface.app/Contents/MacOS/Subsurface
+rm -rf ./Subsurface.app
+make -j8
+make mac-deploy
+install_name_tool -change /Users/hohndel/src/marble/install/libssrfmarblewidget.0.19.2.dylib @executable_path/../Frameworks/libssrfmarblewidget.0.19.2.dylib Subsurface.app/Contents/MacOS/Subsurface
# copy things into staging so we can create a nice DMG
rm -rf ./staging
mkdir ./staging
cp -a ./Subsurface.app ./staging
-sudo sh ./packaging/macosx/sign
+sh ./packaging/macosx/sign
if [ -f ./Subsurface-$VERSION.dmg ]; then
rm ./Subsurface-$VERSION.dmg.bak