[libvirt] [PATCH] Expand $(wildcard) correctly

Michal Privoznik mprivozn at redhat.com
Tue Jan 12 16:36:29 UTC 2016


On 12.01.2016 17:34, Cole Robinson wrote:
> On 01/12/2016 10:31 AM, Michal Privoznik wrote:
>> So after da176bf6b756 and friend we have switched to $(wildcard
>> some/path/*.xml) instead of enumerating the files explicitly.
>> This is nice, however it makes distcheck build from VPATH fail.
>> The reason is that it's is not obvious to what does the wildcard
>> refer to: srcdir or builddir?
>>
> 
> Hmm sorry about that. I ran distcheck though, I thought it validated VPATH
> builds? How are you invoking it?

Yes it does, but not distcheck ran from VPATH.

Long story short:

libvirt.git $ make distclean
libvirt.git $ mkdir build && cd build
libvirt.git/build $ ../configure && make distcheck

Observe error.

Michal




More information about the libvir-list mailing list