From 9265b54d9332ba6fe43c1da947685a7ad522730d Mon Sep 17 00:00:00 2001 From: Andrea Bolognani Date: Wed, 14 Mar 2018 12:00:27 +0100 Subject: [PATCH] docs: Call reformat-news.py with $(PYTHON) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Daniel P. Berrangé --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 81c7f52d9c..af0b735b82 100644 --- a/Makefile.am +++ b/Makefile.am @@ -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