From 9c87c39e65547004031284080749bc66dab1a8f9 Mon Sep 17 00:00:00 2001 From: Petr Spacek Date: Thu, 8 Dec 2016 11:26:18 +0100 Subject: Build: always use Pylint from Python version used for rest of the build configure option --with/without-pylint was replaced by --enable/disable-pylint. Pylint is always called as $(PYTHON) -m python. If you need to override Pylint version, use command "make pylint PYTHON=xxx". https://fedorahosted.org/freeipa/ticket/157 Reviewed-By: Martin Basti Reviewed-By: Christian Heimes --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index a7c74b06a..73bd37899 100644 --- a/Makefile.am +++ b/Makefile.am @@ -164,7 +164,7 @@ pylint: $(top_builddir)/ipapython/version.py ipasetup.py -name '*.py' -print -o \ -type f -exec grep -qsm1 '^#!.*\bpython' '{}' \; -print`; \ echo "Pylint is running, please wait ..."; \ - PYTHONPATH=$(top_srcdir) $(PYLINT) \ + PYTHONPATH=$(top_srcdir) $(PYTHON) -m pylint \ --rcfile=$(top_srcdir)/pylintrc $${FILES} .PHONY: jslint jslint-ui jslint-ui-test jslint-html \ -- cgit