|
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. PaoloThat 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
[Prev in Thread] | Current Thread | [Next in Thread] |