1#!/bin/sh 2 3# find root 4cd `dirname $PWD/$0` ; cd .. 5 6D=${PWD}/prefix-install 7P=`./configure --version|head -n 1|cut -d ' ' -f 1` 8rm -rf $D 9mkdir $D 10make install DESTDIR=$D 11cd $D 12tar czvf ../$P-bin.tar.gz * 13rm -rf $D 14