Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Dec 2010 15:45:22 +0100
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Ulrich Spoerlein <uqs@FreeBSD.org>
Cc:        svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org
Subject:   Re: svn commit: r216119 - head
Message-ID:  <20101202154522.76174hkekl2ct4pw@webmail.leidinger.net>
In-Reply-To: <201012021046.oB2Ak5EV000582@svn.freebsd.org>
References:  <201012021046.oB2Ak5EV000582@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Ulrich Spoerlein <uqs@FreeBSD.org> (from Thu, 2 Dec 2010  
10:46:05 +0000 (UTC)):

> Author: uqs
> Date: Thu Dec  2 10:46:05 2010
> New Revision: 216119
> URL: http://svn.freebsd.org/changeset/base/216119
>
> Log:
>   Remove more duplicates.
>
>   Just so that I can lookup the command for the next time:

Can you please add it to OldFiles.inc instead, with a comment what it does?

>   for t in `make -V TARGETS universe`; do
>     __MAKE_CONF=/dev/null make -f Makefile.inc1 -m $PWD/share/mk TARGET=$t \
>     -V OLD_FILES -V OLD_LIBS -V OLD_DIRS delete-old | \
>     xargs -n1|sort|uniq -c|egrep -v "^ *1 ";
>   done

While it does not matter for "-V OLD*", the spirit of the command is  
more like the check-old target (which is including shared libs) than  
the delete-old target (which does not delete shared libs but only  
static libs). Using check-old would also remove the (wrong, but not  
far fetched) fear of actually deleting something with this command.

Bye,
Alexander.

-- 
Each kiss is as the first.
		-- Miramanee, Kirk's wife, "The Paradise Syndrome",
		   stardate 4842.6

http://www.Leidinger.net    Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org       netchild @ FreeBSD.org  : PGP ID = 72077137



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101202154522.76174hkekl2ct4pw>