From owner-freebsd-current@freebsd.org Tue Dec 1 21:46:40 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2003DA3C15B for ; Tue, 1 Dec 2015 21:46:40 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F130D1CB0; Tue, 1 Dec 2015 21:46:39 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from ralph.baldwin.cx (c-73-231-226-104.hsd1.ca.comcast.net [73.231.226.104]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id F0F92B9AD; Tue, 1 Dec 2015 16:46:38 -0500 (EST) From: John Baldwin To: "Simon J. Gerraty" Cc: Warner Losh , Sean Bruno , FreeBSD Current Subject: Re: sys/modules "make clean" seems broken again Date: Tue, 01 Dec 2015 13:17:48 -0800 Message-ID: <1629652.gVjg2AI38y@ralph.baldwin.cx> User-Agent: KMail/4.14.3 (FreeBSD/10.2-STABLE; KDE/4.14.3; amd64; ; ) In-Reply-To: <14468.1449001747@chaos> References: <564E0322.8050308@freebsd.org> <4121969.dQSZfNjpat@ralph.baldwin.cx> <14468.1449001747@chaos> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Tue, 01 Dec 2015 16:46:39 -0500 (EST) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Dec 2015 21:46:40 -0000 On Tuesday, December 01, 2015 12:29:07 PM Simon J. Gerraty wrote: > John Baldwin wrote: > > > +CLEANFILES+= ${_MFILES:R:S/$/.c/} ${_MFILES:R:S/$/.h/} > > Since CLEANFILES is given to rm, you can use globs > > CLEANFILES+= ${_MFILES:R:S/$/.[ch]/} or .? I'm going to go with the more complicated version just so 'make -V CLEANFILES' doesn't blow up in case someone wants to look at it. -- John Baldwin