]> git.sur5r.net Git - i3/i3/commitdiff
makefile: redirect stderr of 'which' to /dev/null when checking for lcov
authorMichael Stapelberg <michael@stapelberg.de>
Mon, 1 Aug 2011 15:12:04 +0000 (17:12 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Mon, 1 Aug 2011 15:12:04 +0000 (17:12 +0200)
Makefile

index bbe08c0b17e7bd3b8c5e05181fc04f0b7eadd0c8..99b5c4efd770c026b857a6f58cac35bbd5eb9195 100644 (file)
--- 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 \