[CRIU] [crtools-bot for Cyrill Gorcunov ] make: Drop hidden
directories and files from tags gen
Cyrill Gorcunov
gorcunov at openvz.org
Tue Feb 28 10:13:46 EST 2012
The commit is pushed to "master" and will appear on git://github.com/cyrillos/crtools.git
------>
commit 0d9a5b8b19b3123dc219178904cabffe869b5e2c
Author: Cyrill Gorcunov <gorcunov at openvz.org>
Date: Thu Feb 23 23:21:27 2012 +0400
make: Drop hidden directories and files from tags gen
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
Acked-by: Pavel Emelyanov <xemul at parallels.com>
---
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
More information about the CRIU
mailing list