[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: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH V14 02/10] build: use check-clean in root Makefile |
Date: |
Thu, 24 Jan 2013 09:27:21 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 |
Il 24/01/2013 02:51, Wenchao Xia ha scritto:
>>
>> 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.
What I mean is: add
clean: check-unit
in tests/Makefile. You don't need a variable as an intermediate step.
Paolo
[Qemu-devel] [PATCH V14 03/10] libqblock: build: add configure support, Wenchao Xia, 2013/01/23
[Qemu-devel] [PATCH V14 04/10] libqblock: build: add rule for libqblock.la, Wenchao Xia, 2013/01/23
[Qemu-devel] [PATCH V14 05/10] libqblock: build: add packaging support, Wenchao Xia, 2013/01/23
[Qemu-devel] [PATCH V14 06/10] block: export function path_has_protocol(), Wenchao Xia, 2013/01/23
[Qemu-devel] [PATCH V14 07/10] libqblock: libqblock API design and type defines, Wenchao Xia, 2013/01/23