From 29d579c4cc4252dbded1be7a9199c721ad64b6eb Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Mon, 1 Aug 2011 17:12:04 +0200 Subject: [PATCH] makefile: redirect stderr of 'which' to /dev/null when checking for lcov --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 \ -- 2.39.5