public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] 'make clean' is eager to delete config.mak files
@ 2008-03-22 16:16 Ryota OZAKI
  2008-03-23  9:03 ` Avi Kivity
  0 siblings, 1 reply; 2+ messages in thread
From: Ryota OZAKI @ 2008-03-22 16:16 UTC (permalink / raw)
  To: kvm-devel

Hi all,

Current 'make clean' deletes config.mak files so
that we have to ./configure again after doing that.
This behavior is different from that of standard
'make clean'.

This patch introduces 'make distclean' to delete
config.mak files instead of 'make clean', following
a standard manner of Makefile.

Thanks,
ozaki-r
--
 Makefile |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile
index d4cd877..83f9387 100644
--- a/Makefile
+++ b/Makefile
@@ -91,4 +91,6 @@ clean:
 	for i in $(if $(WANT_MODULE), kernel) user libkvm qemu; do \
 		make -C $$i clean; \
 	done
+
+distclean: clean
 	rm -f config.mak user/config.mak

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-03-23  9:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-22 16:16 [PATCH] 'make clean' is eager to delete config.mak files Ryota OZAKI
2008-03-23  9:03 ` Avi Kivity

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox