From: Andrea Bolognani Date: Wed, 14 Mar 2018 11:00:27 +0000 (+0100) Subject: docs: Call reformat-news.py with $(PYTHON) X-Git-Tag: v4.2.0-rc1~180 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9265b54d9332ba6fe43c1da947685a7ad522730d;p=thirdparty%2Flibvirt.git docs: Call reformat-news.py with $(PYTHON) 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é --- 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