qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
To: Anthony Liguori <aliguori@us.ibm.com>
Cc: "Stefan Hajnoczi" <stefanha@linux.vnet.ibm.com>,
	"Michael S. Tsirkin" <mst@redhat.com>,
	qemu-devel@nongnu.org, "Luiz Capitulino" <lcapitulino@redhat.com>,
	"Andreas Färber" <andreas.faerber@web.de>,
	"Paolo Bonzini" <pbonzini@redhat.com>
Subject: [Qemu-devel] [PATCH 5/5] Makefile: Remove generated headers on clean
Date: Thu, 19 Jan 2012 10:32:07 +0000	[thread overview]
Message-ID: <1326969127-22458-6-git-send-email-stefanha@linux.vnet.ibm.com> (raw)
In-Reply-To: <1326969127-22458-1-git-send-email-stefanha@linux.vnet.ibm.com>

From: Andreas Färber <andreas.faerber@web.de>

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 <andreas.faerber@web.de>
Cc: Michael S. Tsirkin <mst@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
---
 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
-- 
1.7.8.3

  parent reply	other threads:[~2012-01-19 10:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-19 10:32 [Qemu-devel] [PULL 0/5] Trivial patches for 14 to 19 January 2012 Stefan Hajnoczi
2012-01-19 10:32 ` [Qemu-devel] [PATCH 1/5] qemu-tool: Fix mixup of int64 and int64_t Stefan Hajnoczi
2012-01-19 10:32 ` [Qemu-devel] [PATCH 2/5] tests: Silence gtester in Makefile Stefan Hajnoczi
2012-01-19 10:32 ` [Qemu-devel] [PATCH 3/5] lm32: Fix mixup of uint32 and uint32_t Stefan Hajnoczi
2012-01-19 10:32 ` [Qemu-devel] [PATCH 4/5] Makefile: Exclude tests/Makefile in unconfigured tree Stefan Hajnoczi
2012-01-19 10:32 ` Stefan Hajnoczi [this message]
2012-01-19 18:47 ` [Qemu-devel] [PULL 0/5] Trivial patches for 14 to 19 January 2012 Anthony Liguori

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1326969127-22458-6-git-send-email-stefanha@linux.vnet.ibm.com \
    --to=stefanha@linux.vnet.ibm.com \
    --cc=aliguori@us.ibm.com \
    --cc=andreas.faerber@web.de \
    --cc=lcapitulino@redhat.com \
    --cc=mst@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).