From: Michael Stapelberg Date: Mon, 1 Aug 2011 15:12:04 +0000 (+0200) Subject: makefile: redirect stderr of 'which' to /dev/null when checking for lcov X-Git-Tag: 4.0.1~4 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=29d579c4cc4252dbded1be7a9199c721ad64b6eb;p=i3%2Fi3 makefile: redirect stderr of 'which' to /dev/null when checking for lcov --- diff --git a/Makefile b/Makefile index bbe08c0b..99b5c4ef 100644 --- a/Makefile +++ b/Makefile @@ -114,7 +114,7 @@ dist: distclean clean: rm -f src/*.o src/*.gcno src/cfgparse.tab.{c,h} src/cfgparse.yy.c src/cfgparse.{output,dot} src/cmdparse.tab.{c,h} src/cmdparse.yy.c src/cmdparse.{output,dot} loglevels.tmp include/loglevels.h - (which lcov >/dev/null && lcov -d . --zerocounters) || true + (which lcov >/dev/null 2>&1 && lcov -d . --zerocounters) || true $(MAKE) -C docs clean $(MAKE) -C man clean for dir in $(SUBDIRS); do \