]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
docs: Call reformat-news.py with $(PYTHON)
authorAndrea Bolognani <abologna@redhat.com>
Wed, 14 Mar 2018 11:00:27 +0000 (12:00 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Wed, 14 Mar 2018 11:00:27 +0000 (12:00 +0100)
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@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Makefile.am

index 81c7f52d9cdbba7bc7694cebdc1ae538f60f69d9..af0b735b82d8fdde3c41a8a988a800ca9a9c8f93 100644 (file)
@@ -57,7 +57,7 @@ NEWS: \
            $(srcdir)/docs/news.xml \
          >$@-tmp \
            || { rm -f $@-tmp; exit 1; }; \
-         $(srcdir)/docs/reformat-news.py $@-tmp >$@ \
+         $(PYTHON) $(srcdir)/docs/reformat-news.py $@-tmp >$@ \
            || { rm -f $@-tmp; exit 1; }; \
          rm -f $@-tmp; \
        fi