From patchwork Thu Jan 19 10:32:07 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Stefan Hajnoczi X-Patchwork-Id: 136809 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id DCD4D1007D8 for ; Thu, 19 Jan 2012 21:33:21 +1100 (EST) Received: from localhost ([::1]:56121 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RnpIz-0002Us-01 for incoming@patchwork.ozlabs.org; Thu, 19 Jan 2012 05:33:17 -0500 Received: from eggs.gnu.org ([140.186.70.92]:58748) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RnpIc-0001yE-7g for qemu-devel@nongnu.org; Thu, 19 Jan 2012 05:33:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RnpIM-00071n-E0 for qemu-devel@nongnu.org; Thu, 19 Jan 2012 05:32:54 -0500 Received: from e06smtp10.uk.ibm.com ([195.75.94.106]:46857) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RnpIM-00071T-7A for qemu-devel@nongnu.org; Thu, 19 Jan 2012 05:32:38 -0500 Received: from /spool/local by e06smtp10.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 19 Jan 2012 10:32:37 -0000 Received: from d06nrmr1806.portsmouth.uk.ibm.com (9.149.39.193) by e06smtp10.uk.ibm.com (192.168.101.140) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Thu, 19 Jan 2012 10:32:34 -0000 Received: from d06av04.portsmouth.uk.ibm.com (d06av04.portsmouth.uk.ibm.com [9.149.37.216]) by d06nrmr1806.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q0JAWXa62789434 for ; Thu, 19 Jan 2012 10:32:33 GMT Received: from d06av04.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av04.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q0JAWXkD018984 for ; Thu, 19 Jan 2012 03:32:33 -0700 Received: from localhost (stefanha-thinkpad.manchester-maybrook.uk.ibm.com [9.174.219.31]) by d06av04.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id q0JAWWqj018964; Thu, 19 Jan 2012 03:32:33 -0700 From: Stefan Hajnoczi To: Anthony Liguori Date: Thu, 19 Jan 2012 10:32:07 +0000 Message-Id: <1326969127-22458-6-git-send-email-stefanha@linux.vnet.ibm.com> X-Mailer: git-send-email 1.7.8.3 In-Reply-To: <1326969127-22458-1-git-send-email-stefanha@linux.vnet.ibm.com> References: <1326969127-22458-1-git-send-email-stefanha@linux.vnet.ibm.com> MIME-Version: 1.0 x-cbid: 12011910-4966-0000-0000-000001356CBC X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 195.75.94.106 Cc: Stefan Hajnoczi , "Michael S. Tsirkin" , qemu-devel@nongnu.org, Luiz Capitulino , =?UTF-8?q?Andreas=20F=C3=A4rber?= , Paolo Bonzini Subject: [Qemu-devel] [PATCH 5/5] Makefile: Remove generated headers on clean X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: Andreas Färber Running `make distclean' followed by a new out-of-tree build would fail due to stale generated QMP headers in the tree. Commit 611b727374ad76fb0078ea65bc1387194913980e (Makefile: remove more generated files on clean) made sure generated sources are removed. Also remove generated headers introduced in commit e3193601c84558c303b1773379da76fce80c0a56 (qapi: use middle mode in QMP server). Signed-off-by: Andreas Färber Cc: Michael S. Tsirkin Cc: Paolo Bonzini Cc: Luiz Capitulino Signed-off-by: Stefan Hajnoczi --- Makefile | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index d356f07..917fb9b 100644 --- a/Makefile +++ b/Makefile @@ -213,6 +213,7 @@ clean: rm -f trace.c trace.h trace.c-timestamp trace.h-timestamp rm -f trace-dtrace.dtrace trace-dtrace.dtrace-timestamp rm -f trace-dtrace.h trace-dtrace.h-timestamp + rm -f $(GENERATED_HEADERS) rm -f $(GENERATED_SOURCES) rm -rf $(qapi-dir) $(MAKE) -C tests/tcg clean