#!/bin/bash

./configure --prefix=`pwd`/mapseq-1.0-bin --bindir=`pwd`/mapseq-1.0-bin LDFLAGS="-Wl,-rpath -Wl,'\$\${ORIGIN}/lib'"
make install
cp README mapseq-1.0-bin/
rm -rf mapseq-1.0-bin/{esh,eutils-config,include} 
tar chof - mapseq-1.0-bin | GZIP=--best gzip -c >mapseq-1.0-bin.tar.gz
