[CRIU] [PATCH 2/2] build: generate emacs tags file and clean tags
Laurent Dufour
ldufour at linux.vnet.ibm.com
Wed Feb 24 06:21:39 PST 2016
Signed-off-by: Laurent Dufour <ldufour at linux.vnet.ibm.com>
---
Makefile | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 836c745e2441..33f7b0442652 100644
--- a/Makefile
+++ b/Makefile
@@ -141,6 +141,8 @@ PHONY += clean-built
clean: clean-built
$(call msg-clean, criu)
+ $(Q) $(RM) cscope.*
+ $(Q) $(RM) tags TAGS
PHONY += clean
#
@@ -172,7 +174,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:
--
1.9.1
More information about the CRIU
mailing list