From 5c01b4176374195d20636898d58ce0abf8e68bd6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A1n=20Tomko?= Date: Mon, 3 Aug 2020 11:45:44 +0200 Subject: [PATCH] build-aux: set the PYTHON variable in the Makefile MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Some syntax-check rules rely on this variable. Signed-off-by: Ján Tomko Reviewed-by: Pavel Hrdina --- build-aux/Makefile.in | 1 + build-aux/meson.build | 1 + 2 files changed, 2 insertions(+) diff --git a/build-aux/Makefile.in b/build-aux/Makefile.in index 601f1ad7a1..0424ff39fc 100644 --- a/build-aux/Makefile.in +++ b/build-aux/Makefile.in @@ -4,6 +4,7 @@ top_srcdir = @top_srcdir@ top_builddir = @top_builddir@ FLAKE8 = @flake8_path@ RUNUTF8 = @runutf8@ +PYTHON = @PYTHON3@ # include syntax-check.mk file include $(top_srcdir)/build-aux/syntax-check.mk diff --git a/build-aux/meson.build b/build-aux/meson.build index 1dd85b889b..c506feefd2 100644 --- a/build-aux/meson.build +++ b/build-aux/meson.build @@ -8,6 +8,7 @@ if flake8_prog.found() endif syntax_check_conf.set('flake8_path', flake8_path) syntax_check_conf.set('runutf8', ' '.join(runutf8)) +syntax_check_conf.set('PYTHON3', python3_prog.path()) configure_file( input: 'Makefile.in', -- 2.47.3