[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] Makefile: simplify qapi-py definition with wild
From: |
Markus Armbruster |
Subject: |
Re: [Qemu-devel] [PATCH] Makefile: simplify qapi-py definition with wildcard |
Date: |
Tue, 21 May 2019 17:28:27 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Eric Blake <address@hidden> writes:
> On 5/21/19 3:12 AM, Wei Yang wrote:
>> All the python script in scripts/qapi is used to generate qapi code. Use
>> wildcard to simplify it.
>>
>> Signed-off-by: Wei Yang <address@hidden>
>> ---
>> Makefile | 8 +-------
>> 1 file changed, 1 insertion(+), 7 deletions(-)
>
> I'm not a fan of $(wildcard). It makes your tarball creation
> non-deterministic - if there is a leftover file from development that is
> no longer part of the build, wildcard will still pick it up. Explicit
Actually, in this case can "only" adds spurious prerequisites.
> lists are better. I'm inclined to NACK this, but Markus has final say
> since he maintains the qapi generator.
I consider use of $(wildcard) for the purpose of collecting sources a
lazy mistake.