qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH V14 02/10] build: use check-clean in root Makefi


From: Wenchao Xia
Subject: Re: [Qemu-devel] [PATCH V14 02/10] build: use check-clean in root Makefile
Date: Thu, 24 Jan 2013 09:51:35 +0800
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130107 Thunderbird/17.0.2

于 2013-1-23 19:43, Paolo Bonzini 写道:
Il 23/01/2013 12:35, Wenchao Xia ha scritto:


Just use "clean: check-clean" and squash this with patch 1.

Paolo

   That have a problem if test/Makefile is not included, which will
happen if make distclean is called once, then error will be shown
if make clean called again. It is also used by libqblock clean.

You can put the dependency in tests/Makefile.

Paolo

  tests/Makefile would not be included, so it will directly fail.
Actually I use this variable as a bridge between root Makefile and
sub Makefile which would be included by root Makefile, just like
$TOOL. In this way root Makefile can stay unchanged when new subdir
is added, subdir's Makefile can add the step if it want been cleaned
automatically when "make clean" is called in root dir.


--
Best Regards

Wenchao Xia




reply via email to

[Prev in Thread] Current Thread [Next in Thread]