|
From: Serge L. <sma...@us...> - 2005-11-25 10:09:41
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1869/scripts Modified Files: Tag: rel-1-2-patches iproute2 Log Message: - "make install" instead of manual install Index: iproute2 =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/iproute2,v retrieving revision 1.21.2.2 retrieving revision 1.21.2.3 diff -u -d -r1.21.2.2 -r1.21.2.3 --- iproute2 17 Oct 2005 19:01:12 -0000 1.21.2.2 +++ iproute2 25 Nov 2005 10:09:28 -0000 1.21.2.3 @@ -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 ;; |