From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:52772) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvxDP-0006K5-Dj for qemu-devel@nongnu.org; Thu, 17 Jan 2013 16:41:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TvxDK-00027C-Of for qemu-devel@nongnu.org; Thu, 17 Jan 2013 16:41:39 -0500 Received: from mx1.redhat.com ([209.132.183.28]:53456) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tvmxn-0002Rx-5C for qemu-devel@nongnu.org; Thu, 17 Jan 2013 05:44:51 -0500 Date: Thu, 17 Jan 2013 12:48:51 +0200 From: "Michael S. Tsirkin" Message-ID: <20130117104850.GA15393@redhat.com> References: <20130117102846.GE2586@stefanha-thinkpad.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130117102846.GE2586@stefanha-thinkpad.redhat.com> Subject: Re: [Qemu-devel] [PATCH 3/4] rules/mak: make clean should blow away timestamp files List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: qemu-devel@nongnu.org On Thu, Jan 17, 2013 at 11:28:46AM +0100, Stefan Hajnoczi wrote: > On Tue, Jan 15, 2013 at 06:57:34PM +0200, Michael S. Tsirkin wrote: > > Using a global pattern makes it easier to clean out > > old generated files. > > > > Signed-off-by: Michael S. Tsirkin > > --- > > rules.mak | 5 +++++ > > 1 file changed, 5 insertions(+) > > > > diff --git a/rules.mak b/rules.mak > > index d11a5b4..edc2552 100644 > > --- a/rules.mak > > +++ b/rules.mak > > @@ -88,6 +88,11 @@ config-%.h: config-%.h-timestamp > > config-%.h-timestamp: config-%.mak > > $(call quiet-command, sh $(SRC_PATH)/scripts/create_config < $< > $@, " GEN $(TARGET_DIR)config-$*.h") > > > > +.PHONY: clean-timestamp > > +clean-timestamp: > > + rm -f *.timestamp > > Timestamp files also live in subdirectories and I think we're slowly > moving away from recursive make, so this may not clean all timestamp > files. > > Stefan Yes but it helps whenever we include rules.mak which is in most places. -- MST