]> arthur.barton.de Git - bup.git/commit
configure: add --with-pylint=[yes|no|maybe] defaulting to maybe
authorRob Browning <rlb@defaultvalue.org>
Sat, 11 Sep 2021 21:02:19 +0000 (16:02 -0500)
committerRob Browning <rlb@defaultvalue.org>
Sat, 11 Sep 2021 21:02:19 +0000 (16:02 -0500)
commit58c671dc12318ad968e404c749b55cf32c1c37e5
treef74a65d8b3a102f51778dd822c1a3bda5847f3de
parent610ee0e45a3fe54d2f88f61127dfa73a4bfbdba0
configure: add --with-pylint=[yes|no|maybe] defaulting to maybe

When set to no, don't run pylint from ./pylint, just exit
successfully.  When set to maybe, use dev/have-pylint to figure out if
pylint is available, and if so, run it, otherwise exit successfully
after describing the situation.  When set to yes, always try to run
pylint.

This may be useful more generally, but in particular, it makes it
possible to run this:

  ./configure --with-pylint=maybe
  make check-both

in situations where pylint is available for say python 3, but not
python 2.

Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Tested-by: Rob Browning <rlb@defaultvalue.org>
GNUmakefile
config/configure
configure
dev/have-pylint [new file with mode: 0755]
dev/prep-for-debianish-build
pylint