]> mj.ucw.cz Git - libucw.git/blobdiff - build/installer
The asio.test should be performed only in threaded mode.
[libucw.git] / build / installer
index 39154ee072dc8a047e1b310781c80a255317f55f..b06ca50947c45b4e5b89301abd27284f3ac16c5b 100755 (executable)
@@ -8,18 +8,19 @@ 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
+       mkdir -p $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
                if [ ! -f $DEST/cf/$a ] ; then
                        echo "cf/$a: new, installed"
                        cp run/cf/$a $DEST/cf/$a
-               elif [ $a == catalog-rules -o $a == url-equiv ] ; then
+               elif [ $a == catalog-rules ] ; then
                        echo "cf/$a: will be regenerated automatically"
                elif diff -u $DEST/cf/$a run/cf/$a ; then
                        echo "cf/$a: no differences"