]> mj.ucw.cz Git - libucw.git/commitdiff
Added the `extras' target (initially empty) and INSTALL_RUNDIRS.
authorMartin Mares <mj@ucw.cz>
Fri, 3 Dec 2004 20:52:22 +0000 (20:52 +0000)
committerMartin Mares <mj@ucw.cz>
Fri, 3 Dec 2004 20:52:22 +0000 (20:52 +0000)
`lib' and `bin' are now handled as INSTALL_RUNDIRS.

build/installer

index 164ae2fabcbacb7743a268ede2a3c81f6f92c4f6..99de43f0582d0f4003cf0356dff45fac7352ab4b 100755 (executable)
@@ -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