summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2015-09-07 13:44:14 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2015-09-07 17:44:04 +0200
commitacfc56957c008d30c98ced5fae5f7888ec2a5a22 (patch)
treef852073e81f60ca9dd519b6f25cd00efa3281d65 /Makefile.in
parent3ba431e79e4914dfaf3cc74aeb52b46757acc8df (diff)
downloadlvm2-acfc56957c008d30c98ced5fae5f7888ec2a5a22.tar.gz
makefiles: do not generate tags for everyone
Create tags file only on request (make tags). Also clean file with 'make clean'.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index 1ce9ca81f..d9ac8156d 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -229,10 +229,9 @@ endif
ifneq ($(shell which ctags),)
.PHONY: tags
-all: tags
tags:
- test -z "$(shell find $(top_srcdir) -type f -name '*.[ch]' -newer tags | head -1)" || $(RM) tags
+ test -z "$(shell find $(top_srcdir) -type f -name '*.[ch]' -newer tags 2>/dev/null | head -1)" || $(RM) tags
test -f tags || find $(top_srcdir) -maxdepth 4 -type f -name '*.[ch]' -exec ctags -a '{}' +
-DISTCLEAN_TARGETS += tags
+CLEAN_TARGETS += tags
endif