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

Andrea Bolognani abologna at redhat.com
Tue Mar 13 18:42:44 UTC 2018


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
-- 
2.14.3




More information about the libvir-list mailing list