From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:48003) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tvndh-0005bs-SV for qemu-devel@nongnu.org; Thu, 17 Jan 2013 06:28:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tvndg-0003Ef-Jk for qemu-devel@nongnu.org; Thu, 17 Jan 2013 06:28:09 -0500 Received: from mail-wg0-f49.google.com ([74.125.82.49]:62039) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvmiH-0007Jc-42 for qemu-devel@nongnu.org; Thu, 17 Jan 2013 05:28:49 -0500 Received: by mail-wg0-f49.google.com with SMTP id 15so1564085wgd.16 for ; Thu, 17 Jan 2013 02:28:48 -0800 (PST) Date: Thu, 17 Jan 2013 11:28:46 +0100 From: Stefan Hajnoczi Message-ID: <20130117102846.GE2586@stefanha-thinkpad.redhat.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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: "Michael S. Tsirkin" Cc: qemu-devel@nongnu.org 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