Skip to contentSkip to conversation

master - makefiles: avoid clustering out

PATCH Zdenek Kabelac 1 participant 1 message Dec 1, 2018 Kbuild

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=a1e5b8832b99d977fda326e914a5d6d834316f42
Commit:        a1e5b8832b99d977fda326e914a5d6d834316f42
Parent:        38c7ba315dd4aa2c87a777225b3f3ca333ebe350
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Fri Nov 30 21:59:08 2018 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Sat Dec 1 01:05:53 2018 +0100

makefiles: avoid clustering out

When ctags package is not installed, avoid cluttering output from failing 'which' command.

---
 Makefile.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Makefile.in +1 -1
index dd8a526..e64836f 100644
@@ -179,7 +179,7 @@ endif
 include $(top_srcdir)/device_mapper/Makefile
 include $(top_srcdir)/base/Makefile
 
-ifneq ($(shell which ctags),)
+ifneq ($(shell which ctags 2>/dev/null),)
 .PHONY: tags
 tags:
 	test -z "$(shell find $(top_srcdir) -type f -name '*.[ch]' -newer tags 2>/dev/null | head -1)" || $(RM) tags