osx: Update bundle.sh to location change

This commit is contained in:
Alexander Kojevnikov 2011-03-31 09:02:18 +08:00
parent f3f796ab94
commit 1ea359b8ad
2 changed files with 8 additions and 8 deletions

6
.gitignore vendored

@ -18,6 +18,9 @@ configure
data/spek.desktop
data/spek.desktop.in
depcomp
dist/osx/Spek.app
dist/osx/Spek.dmg
dist/osx/bin
dist/win/spek.wxs
install-sh
intltool-extract.in
@ -29,9 +32,6 @@ man/spek.1
missing
mkinstalldirs
omf.make
osx/Spek.app
osx/Spek.dmg
osx/bin
po/*.gmo
po/.intltool-merge-cache
po/POTFILES

10
dist/osx/bundle.sh vendored

@ -1,6 +1,6 @@
#!/bin/sh
cd $(dirname $0)/..
cd $(dirname $0)/../..
case "$(uname)" in
Darwin) profile_name=darwin ;;
*)
@ -9,14 +9,14 @@ case "$(uname)" in
;;
esac
./autogen.sh --prefix=$(pwd)/osx/bin
./autogen.sh --prefix=$(pwd)/dist/osx/bin
gmake
gmake install
ige-mac-bundler osx/spek.bundle
ige-mac-bundler dist/osx/spek.bundle
# Make DMG image
cd osx
cd dist/osx
VOLUME_NAME=Spek
DMG_APP=Spek.app
DMG_FILE=$VOLUME_NAME.dmg
@ -66,4 +66,4 @@ if [ ! "x$1" = "x-m" ]; then
rm $DMG_FILE.master
fi
cd ..
cd ../..