mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Small tweaks to the Mac package making scripts
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
8a312616b0
commit
3212bfdf99
2 changed files with 24 additions and 25 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue