build: Only use tput if $TERM is defined
commit71c28eff00a8a8896c45fa20330b623d265ae5c7
authorTobias Klauser <tklauser@distanz.ch>
Wed, 19 Aug 2015 15:49:46 +0000 (19 17:49 +0200)
committerTobias Klauser <tklauser@distanz.ch>
Wed, 19 Aug 2015 15:49:46 +0000 (19 17:49 +0200)
treed13462434b03898fc522c203ada463110e8c1cf3
parent1898c5396e8e2d36386716cac2d5971ce4a4d8b0
build: Only use tput if $TERM is defined

Otherwise we clutter the build log with warnings such as:

  tput: No value for $TERM and no -T specified

on head-less CI/build systems (e.g. Debian's buildd).

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Makefile