Added PackageMaker file

Updated make_pkg.sh to use it
This commit is contained in:
ridiculousfish
2012-05-11 17:26:08 -07:00
parent b0f4ff2879
commit 2d3d6e1c17
4 changed files with 41 additions and 1 deletions

View File

@@ -5,7 +5,7 @@ mkdir -p /tmp/fish_pkg/
if make install prefix=/tmp/fish_pkg/usr/local/
then
echo "Root written to /tmp/fish_pkg/"
if pkgbuild --identifier com.ridiculousfish.fish-shell --scripts build_tools/osx_package_scripts/ --root /tmp/fish_pkg/ ~/fish_installer.pkg
if /Developer/usr/bin/packagemaker --doc ./build_tools/fish_shell.pmdoc --out ~/fish_installer.pkg
then
echo "Package written to ~/fish_installer.pkg"
else