From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:57381) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tv9Rg-0005mi-Gd for qemu-devel@nongnu.org; Tue, 15 Jan 2013 11:33:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tv9RX-0000X8-V4 for qemu-devel@nongnu.org; Tue, 15 Jan 2013 11:33:04 -0500 Received: from mx1.redhat.com ([209.132.183.28]:11955) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tv9RX-0000X3-NN for qemu-devel@nongnu.org; Tue, 15 Jan 2013 11:32:55 -0500 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r0FGWsIu024329 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 15 Jan 2013 11:32:55 -0500 Received: from redhat.com ([10.35.212.26]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with SMTP id r0FGWrDf007501 for ; Tue, 15 Jan 2013 11:32:54 -0500 Date: Tue, 15 Jan 2013 18:36:53 +0200 From: "Michael S. Tsirkin" Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: [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: qemu-devel@nongnu.org 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 +clean: clean-timestamp + # will delete the target of a rule if commands exit with a nonzero exit status .DELETE_ON_ERROR: -- MST