Some syntax-check rules rely on this variable.
Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
top_builddir = @top_builddir@
FLAKE8 = @flake8_path@
RUNUTF8 = @runutf8@
+PYTHON = @PYTHON3@
# include syntax-check.mk file
include $(top_srcdir)/build-aux/syntax-check.mk
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',