From: Martin Mares Date: Fri, 3 Dec 2004 20:52:22 +0000 (+0000) Subject: Added the `extras' target (initially empty) and INSTALL_RUNDIRS. X-Git-Tag: holmes-import~861 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=3d8aff46a4871ddb50e971d5cd8815dfcff0b713;p=libucw.git Added the `extras' target (initially empty) and INSTALL_RUNDIRS. `lib' and `bin' are now handled as INSTALL_RUNDIRS. --- diff --git a/build/installer b/build/installer index 164ae2fa..99de43f0 100755 --- a/build/installer +++ b/build/installer @@ -8,11 +8,11 @@ for d in "" cf $SH_EXTRA_RUNDIRS ; do mkdir -p $DEST/$d fi done -echo "Installing binaries..." -rm -rf $DEST/{bin,lib} -mkdir -p $DEST/{bin,lib} -cp -aL run/bin/* $DEST/bin/ -cp -aL run/lib/* $DEST/lib/ +for d in $SH_INSTALL_RUNDIRS ; do + echo "Installing to $DEST/$d" + rm -rf $DEST/$d + cp -aL run/$d $DEST/$d +done echo "Installing config files..." for a in $SH_CONFIGS ; do if [ -f run/cf/$a ] ; then