aboutsummaryrefslogtreecommitdiffhomepage
path: root/build_tools/make_pkg.sh
blob: 3a9986e52edebbd4ae2a0418410f15df3e701da9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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/"
	if /Developer/usr/bin/packagemaker --doc ./build_tools/fish_shell.pmdoc --out ~/fish_built/fishfish.pkg
	then
		echo "Package written to ~/fish_built/fishfish.pkg"
	else
		echo "Package could not be written"
	fi
	
else
	echo "Root could not be written"
fi