[libvirt] [PATCH 2/5] docs: Call reformat-news.py with $(PYTHON)

Daniel P. Berrangé berrange at redhat.com
Wed Mar 14 09:57:09 UTC 2018


On Tue, Mar 13, 2018 at 07:42:44PM +0100, Andrea Bolognani wrote:
> This is the only Python script which we invoke directly, which
> works pretty fine in general but becomes a problem if the user
> has explicitly overridden Python binary detection at configure
> time.
> 
> Signed-off-by: Andrea Bolognani <abologna at redhat.com>
> ---
>  docs/Makefile.am | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/docs/Makefile.am b/docs/Makefile.am
> index 3259799e4f..6435c4dde6 100644
> --- a/docs/Makefile.am
> +++ b/docs/Makefile.am
> @@ -257,7 +257,7 @@ NEWS: \
>  	    $(srcdir)/news.xml \
>  	  >$@-tmp \
>  	    || { rm -f $@-tmp; exit 1; }; \
> -	  $(srcdir)/reformat-news.py $@-tmp >$@ \
> +	  $(PYTHON) $(srcdir)/reformat-news.py $@-tmp >$@ \
>  	    || { rm -f $@-tmp; exit 1; }; \
>  	  rm -f $@-tmp; \
>  	fi

Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvir-list mailing list