1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

makefiles: avoid clustering out

When ctags package is not installed, avoid cluttering output
from failing 'which' command.
This commit is contained in:
Zdenek Kabelac 2018-11-30 21:59:08 +01:00
parent 38c7ba315d
commit a1e5b8832b

View File

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