Re: [PATCH] build: Properly generate and check virkeepaliveprotocol-structs

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

 



On 11/24/2011 06:18 AM, Jiri Denemark wrote:
> This fixes make dist broken by recent keepalive series
> ---
>  src/Makefile.am |    8 +++++---
>  1 files changed, 5 insertions(+), 3 deletions(-)
> 
> diff --git a/src/Makefile.am b/src/Makefile.am
> index e8f20de..33a32a8 100644
> --- a/src/Makefile.am
> +++ b/src/Makefile.am
> @@ -247,14 +247,15 @@ EXTRA_DIST +=  $(REMOTE_DRIVER_PROTOCOL) \
>  # The alternation of the following regexps matches both cases.
>  r1 = /\* \d+ \*/
>  r2 = /\* <[[:xdigit:]]+> \S+:\d+ \*/
> +struct_prefix = (remote_|qemu_|virNet|keepalive_)

Nice factoring to avoid the long line.

ACK.

>  		-e 'END {'						\
> -		-e '  if ($$n < 3) {'					\
> +		-e '  if ($$n < 1) {'					\
>  		-e '    warn "WARNING: your pdwtags program is too old\n";' \

That's now a rather weak test, but I can't think of anything more
reliable that doesn't also reject keepalive.

Hmm, I wonder if I should add cppi and pdwtags to my list of required
maintainer tools in this unreviewed patch:
https://www.redhat.com/archives/libvir-list/2011-November/msg01052.html

They would still be optional for tarball builds, of course, but having
them required when doing autogen.sh on libvirt.git may help more
developers catch problems up front.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]