From: Martin Mares Date: Thu, 10 Oct 2002 19:52:40 +0000 (+0000) Subject: Install libraries as well. Closes bug #318. X-Git-Tag: holmes-import~1325 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=71072a7e92d91f0428b9457e964bb2a739a2b272;p=libucw.git Install libraries as well. Closes bug #318. --- diff --git a/build/installer b/build/installer index 02eb2552..aff3b0d2 100755 --- a/build/installer +++ b/build/installer @@ -2,13 +2,15 @@ set -e DEST=`eval echo $1` echo "Installing to $DEST" -if [ ! -d $DEST/bin ] ; then +if [ ! -d $DEST/cf ] ; then echo "Creating $DEST and the whole directory hierarchy under it." - mkdir -p $DEST/{bin,cf,db,index,log,tmp} + mkdir -p $DEST/{cf,db,index,log,tmp} fi echo "Installing binaries..." -rm -f $DEST/bin/* -cp run/bin/* $DEST/bin/ +rm -rf $DEST/{bin,lib} +mkdir -p $DEST/{bin,lib} +cp -a run/bin/* $DEST/bin/ +cp -a run/lib/* $DEST/lib/ echo "Installing config files..." for a in cf/* ; do if [ -f $a ] ; then