|
From: Serge L. <sma...@us...> - 2005-11-25 10:13:51
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2827 Modified Files: iproute2 Log Message: - "make install" instead of manual install Index: iproute2 =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/iproute2,v retrieving revision 1.25 retrieving revision 1.26 diff -u -d -r1.25 -r1.26 --- iproute2 17 Oct 2005 19:16:16 -0000 1.25 +++ iproute2 25 Nov 2005 10:13:40 -0000 1.26 @@ -43,9 +43,15 @@ install ) if [ "$CONFIG_IPROUTE2" = "y" ]; then - mkdir -p $CDDIR/usr/sbin - copy_files "ip/ip ip/ifcfg ip/routef ip/routel ip/rtacct ip/rtmon ip/rtpr tc/tc" $CDDIR/usr/sbin || exit 1 - cp -dvpR etc/* $ETCDIR/etc/ || exit 1 + rm -rf $TMPDIR || exit 1 + mkdir -p $TMPDIR || exit 1 + make DESTDIR=$TMPDIR install || exit 1 + + cp -dpR $TMPDIR/etc/* $ETCDIR/etc/ || exit 1 + rm -rf $TMPDIR/etc || exit 1 + + cp -dpR $TMPDIR/* $CDDIR/ || exit 1 + rm -rf $TMPDIR || exit 1 fi ;; |