]> arthur.barton.de Git - bup.git/commit
Makefile: allow PYTHON variable to override python version.
authorGabriel Filion <lelutin@gmail.net>
Fri, 25 Jun 2010 01:36:36 +0000 (21:36 -0400)
committerAvery Pennarun <apenwarr@gmail.com>
Fri, 25 Jun 2010 03:56:08 +0000 (23:56 -0400)
commit921f15769cd111e6f7eebeeb64be0f52d7eb3bc8
tree911ae855aa85cb1ae8c2dcee9acdf2bfd9c42f3b
parent72c80d3080138152da5cb484c2e3209c630705df
Makefile: allow PYTHON variable to override python version.

Currently, the Makefile assumes the python command that should be used
is the default python version -- the "python" executable that is found
in PATH. Compiling and testing with a different python version is not
possible without either having a system with another default version, or
by manually changing the link found in PATH.

Correct this situation by using a variable for the python command name,
that can be overridden on the command line like the following:

    make PYTHON=python2.6 test

Signed-off-by: Gabriel Filion <lelutin@gmail.net>
Makefile