From 99ada64a72d1ca46463b1918322b1b39da8ef85b Mon Sep 17 00:00:00 2001 From: Laurent Dufour Date: Wed, 24 Feb 2016 15:21:39 +0100 Subject: [PATCH] build: generate emacs tags file and clean tags Signed-off-by: Laurent Dufour Acked-by: Cyrill Gorcunov Signed-off-by: Pavel Emelyanov --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7d1eed663..99d40eedf 100644 --- a/Makefile +++ b/Makefile @@ -142,6 +142,8 @@ PHONY += clean-built clean: clean-built $(call msg-clean, criu) + $(Q) $(RM) cscope.* + $(Q) $(RM) tags TAGS PHONY += clean # @@ -173,7 +175,8 @@ dist tar: criu-$(tar-name).tar.bz2 tags: $(call msg-gen, $@) $(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 cscope: