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 <abolo...@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

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

Reply via email to