summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2018-11-30 21:59:08 +0100
committerZdenek Kabelac <zkabelac@redhat.com>2018-12-01 01:05:53 +0100
commita1e5b8832b99d977fda326e914a5d6d834316f42 (patch)
tree40fe282f64e7dc47bef4e7a6402ea72e0bbbf370 /Makefile.in
parent38c7ba315dd4aa2c87a777225b3f3ca333ebe350 (diff)
downloadlvm2-a1e5b8832b99d977fda326e914a5d6d834316f42.tar.gz
makefiles: avoid clustering out
When ctags package is not installed, avoid cluttering output from failing 'which' command.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index dd8a52682..e64836f74 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -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