[libvirt] [PATCH 2/6] unbreak `make rpcgen'

Chris Lalancette clalance at redhat.com
Fri Oct 2 09:58:59 UTC 2009


Paolo Bonzini wrote:
> Fix "make rpcgen", broken by the directory reorganization.
> 
> * src/Makefile.am (rpcgen): Fix path to rpcgen_fix.pl.
> ---
>  src/Makefile.am |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/src/Makefile.am b/src/Makefile.am
> index de7765c..f3d4559 100644
> --- a/src/Makefile.am
> +++ b/src/Makefile.am
> @@ -332,8 +332,8 @@ rpcgen:
>  	$(RPCGEN) -h -o rp.h-t $(srcdir)/remote/remote_protocol.x
>  	$(RPCGEN) -c -o rp.c-t $(srcdir)/remote/remote_protocol.x
>  if HAVE_GLIBC_RPCGEN
> -	perl -w $(srcdir)/rpcgen_fix.pl rp.h-t > rp.h-t1
> -	perl -w $(srcdir)/rpcgen_fix.pl rp.c-t > rp.c-t1
> +	perl -w $(srcdir)/remote/rpcgen_fix.pl rp.h-t > rp.h-t1
> +	perl -w $(srcdir)/remote/rpcgen_fix.pl rp.c-t > rp.c-t1
>  	(echo '#include <config.h>'; cat rp.c-t1) > rp.c-t2
>  	chmod 0444 rp.c-t2 rp.h-t1
>  	mv -f rp.h-t1 $(srcdir)/remote/remote_protocol.h

Pushed, thanks.

-- 
Chris Lalancette




More information about the libvir-list mailing list