#!/bin/sh # make binary tarballs # This script assumes that the bootstrap script has already been run successfully. # makeSourceDist # e.g. might be gcc-2.95.2 for gcc 2.95.2 if [ ! -d /vols/escience01/martynia/MAUS-v0.9.6/third_party/install ] then echo "/vols/escience01/martynia/MAUS-v0.9.6/third_party/install does not exist" exit 1 fi if [ ! -d $1 ] then echo "$1 does not exist" exit 1 fi if [ $# -eq 2 ] then extra="-$2" fi ##set -x # make sure we have the full path thisdir=`pwd` cd /vols/escience01/martynia/MAUS-v0.9.6/third_party/install; binarydir=`pwd` cd $thisdir cd $1; tardir=`pwd` if [ -d $binarydir/doc ] then more=doc fi cd $binarydir; # use option z to create compressed tar ball ... (8 MB instead of 28 :-) ) tar -zcf $tardir/clhep-2.1.1.0$extra.tgz bin include lib data $more