Makefile: Remove generated headers on clean

Message ID
State New
Headers show

Commit Message

Andreas Färber Jan. 17, 2012, 12:17 p.m.
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

Signed-off-by: Andreas Färber <>
Cc: Michael S. Tsirkin <>
Cc: Paolo Bonzini <>
Cc: Luiz Capitulino <>
 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 -rf $(qapi-dir)
 	$(MAKE) -C tests/tcg clean