From owner-svn-src-all@FreeBSD.ORG Thu Dec 2 14:45:39 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 997F1106566B; Thu, 2 Dec 2010 14:45:39 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id 3CA888FC23; Thu, 2 Dec 2010 14:45:38 +0000 (UTC) Received: from outgoing.leidinger.net (p57B3A614.dip.t-dialin.net [87.179.166.20]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id DC09B844168; Thu, 2 Dec 2010 15:45:31 +0100 (CET) Received: from webmail.leidinger.net (unknown [IPv6:fd73:10c7:2053:1::2:102]) by outgoing.leidinger.net (Postfix) with ESMTP id 7CBAC1321; Thu, 2 Dec 2010 15:45:27 +0100 (CET) Received: (from www@localhost) by webmail.leidinger.net (8.14.4/8.13.8/Submit) id oB2EjMqU016739; Thu, 2 Dec 2010 15:45:22 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.ec.europa.eu (pslux.ec.europa.eu [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Thu, 02 Dec 2010 15:45:22 +0100 Message-ID: <20101202154522.76174hkekl2ct4pw@webmail.leidinger.net> Date: Thu, 02 Dec 2010 15:45:22 +0100 From: Alexander Leidinger To: Ulrich Spoerlein References: <201012021046.oB2Ak5EV000582@svn.freebsd.org> In-Reply-To: <201012021046.oB2Ak5EV000582@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Dynamic Internet Messaging Program (DIMP) H3 (1.1.4) X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: DC09B844168.A355E X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=1.351, required 6, autolearn=disabled, RDNS_NONE 1.27, TW_SV 0.08) X-EBL-MailScanner-SpamScore: s X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1291905932.99569@J4EHQohSQPgE02hg5QWV7g X-EBL-Spam-Status: No Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r216119 - head X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Dec 2010 14:45:39 -0000 Quoting Ulrich Spoerlein (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