fish-shell/build_tools/make_pkg.sh

18 lines
398 B
Bash
Raw Normal View History

#!/bin/sh -x
rm -rf /tmp/fish_pkg
mkdir -p /tmp/fish_pkg/
if make DESTDIR=/tmp/fish_pkg install
then
echo "Root written to /tmp/fish_pkg/"
2012-05-25 06:56:07 +00:00
if /Developer/usr/bin/packagemaker --doc ./build_tools/fish_shell.pmdoc --out ~/fish_built/fishfish.pkg
then
2012-05-25 06:56:07 +00:00
echo "Package written to ~/fish_built/fishfish.pkg"
else
echo "Package could not be written"
fi
else
echo "Root could not be written"
fi