python: Add 'make pylint' convenience rule.
authorJelmer Vernooij <jelmer@samba.org>
Mon, 1 Mar 2010 03:56:42 +0000 (04:56 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Mon, 1 Mar 2010 03:56:42 +0000 (04:56 +0100)
source4/scripting/python/config.mk

index 0dd248e64583a19e720955767b670fd48a1c827c..c1e1c5de82d5b013b8c2d008ea5c92654dda45c7 100644 (file)
@@ -38,3 +38,8 @@ PYFLAKES = pyflakes
 
 pyflakes::
        $(PYFLAKES) $(pyscriptsrcdir)/samba
+
+PYLINT = pylint
+
+pylint:: pythonmods
+       PYTHONPATH=$(pyscriptsrcdir) $(PYLINT) -f parseable samba