makefile: redirect stderr of 'which' to /dev/null when checking for lcov

This commit is contained in:
Michael Stapelberg 2011-08-01 17:12:04 +02:00
parent 3c68a9158c
commit 29d579c4cc
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ dist: distclean
clean: 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 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 docs clean
$(MAKE) -C man clean $(MAKE) -C man clean
for dir in $(SUBDIRS); do \ for dir in $(SUBDIRS); do \