[CRIU] [PATCH 02/10] make: Drop hidden directories and files from tags gen

Cyrill Gorcunov gorcunov at openvz.org
Fri Feb 24 18:24:23 EST 2012


Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index d5ffeca..748a649 100644
--- a/Makefile
+++ b/Makefile
@@ -180,12 +180,12 @@ distclean: clean
 tags:
 	$(E) "  GEN" $@
 	$(Q) $(RM) -f tags
-	$(Q) $(FIND) . -name '*.[hcS]' -print | xargs ctags -a
+	$(Q) $(FIND) . -name '*.[hcS]' ! -path './.*' -print | xargs ctags -a
 .PHONY: tags
 
 cscope:
 	$(E) "  GEN" $@
-	$(Q) $(FIND) . -name '*.[hcS]' -print > cscope.files
+	$(Q) $(FIND) . -name '*.[hcS]' ! -path './.*' -print > cscope.files
 	$(Q) $(CSCOPE) -bkqu
 .PHONY: cscope
 
-- 
1.7.7.6



More information about the CRIU mailing list