File: makemac

package info (click to toggle)
psi 0.9.3-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 7,524 kB
  • ctags: 10,934
  • sloc: cpp: 81,408; ansic: 18,998; sh: 1,555; xml: 1,304; makefile: 165
file content (21 lines) | stat: -rwxr-xr-x 679 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

#  WARNING:
#    This script is deprecated, and probably doesn't even work any more. It's
#   here just in case there's anyone out there that still needs it. It will be
#   removed in 0.10.
qmake psi.pro
make

mkdir dmg
mv src/psi.app dmg/Psi.app
mkdir -p dmg/Psi.app/Contents/Frameworks
cp -f /Developer/qt/lib/libqt-mt.3.dylib dmg/Psi.app/Contents/Frameworks
cp -f README COPYING dmg

strip dmg/Psi.app/Contents/MacOS/psi

install_name_tool -id @executable_path/../Frameworks/libqt-mt.3.dylib dmg/Psi.app/Contents/Frameworks/libqt-mt.3.dylib

install_name_tool -change libqt-mt.3.dylib @executable_path/../Frameworks/libqt-mt.3.dylib dmg/Psi.app/Contents/MacOS/psi