mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
makefiles: do not generate tags for everyone
Create tags file only on request (make tags). Also clean file with 'make clean'.
This commit is contained in:
parent
3ba431e79e
commit
acfc56957c
@ -229,10 +229,9 @@ endif
|
|||||||
|
|
||||||
ifneq ($(shell which ctags),)
|
ifneq ($(shell which ctags),)
|
||||||
.PHONY: tags
|
.PHONY: tags
|
||||||
all: tags
|
|
||||||
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 '{}' +
|
test -f tags || find $(top_srcdir) -maxdepth 4 -type f -name '*.[ch]' -exec ctags -a '{}' +
|
||||||
|
|
||||||
DISTCLEAN_TARGETS += tags
|
CLEAN_TARGETS += tags
|
||||||
endif
|
endif
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
Version 2.02.131 -
|
Version 2.02.131 -
|
||||||
=====================================
|
=====================================
|
||||||
|
Make tags only when requested via 'make tags'.
|
||||||
Configure supports --disable-dependency-tracking for one-time builds.
|
Configure supports --disable-dependency-tracking for one-time builds.
|
||||||
Fix usage of configure.h when building in srcdir != builddir.
|
Fix usage of configure.h when building in srcdir != builddir.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user