Commit 99ada64a authored by Laurent Dufour's avatar Laurent Dufour Committed by Pavel Emelyanov

build: generate emacs tags file and clean tags

Signed-off-by: 's avatarLaurent Dufour <ldufour@linux.vnet.ibm.com>
Acked-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent 581c3f11
...@@ -142,6 +142,8 @@ PHONY += clean-built ...@@ -142,6 +142,8 @@ PHONY += clean-built
clean: clean-built clean: clean-built
$(call msg-clean, criu) $(call msg-clean, criu)
$(Q) $(RM) cscope.*
$(Q) $(RM) tags TAGS
PHONY += clean PHONY += clean
# #
...@@ -173,7 +175,8 @@ dist tar: criu-$(tar-name).tar.bz2 ...@@ -173,7 +175,8 @@ dist tar: criu-$(tar-name).tar.bz2
tags: tags:
$(call msg-gen, $@) $(call msg-gen, $@)
$(Q) $(RM) tags $(Q) $(RM) tags
$(Q) $(FIND) . -name '*.[hcS]' ! -path './.*' ! -path './test/*' -print | xargs ctags -a $(Q) $(FIND) . -name '*.[hcS]' ! -path './.*' ! -path './test/*' -print | xargs $(CTAGS) -a
$(Q) $(FIND) . -name '*.[hcS]' ! -path './.*' ! -path './test/*' -print | xargs $(ETAGS) -a
PHONY += tags PHONY += tags
cscope: cscope:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment