Enable hlint in lint and reorganise this target
authorIustin Pop <iustin@google.com>
Mon, 11 Jun 2012 09:15:59 +0000 (11:15 +0200)
committerIustin Pop <iustin@google.com>
Mon, 11 Jun 2012 10:35:54 +0000 (12:35 +0200)
commit6e4c8f68c5ab0a4381d7942c20e0e6241ddf1983
treeac1f4964b66bc7c81583e519c3eb9c6c04185f5f
parentb59092f71ea2d3c8e71ad60efd18251c641af839
Enable hlint in lint and reorganise this target

Currently, the lint target does a sequential: pep8, pylint, pylint on
the QA sources. hlint is run only when explicitly requested.

This patch reorganises the lint target by:

- splitting the current lint target into separate pylint (slow),
  pylint-qa (fast), pep8 (fast) targets
- making lint itself depend on the above plus hlint
- both pep8 and hlint are optional, based on whether the said binaries
  were detected at configure time

make -j is slightly faster after this patch (1m18s → 1m7s).

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Makefile.am
configure.ac