[CRIU] [PATCH 2/3] make: Don't generate tags/cscope for tools/ and test/
Andrew Vagin
avagin at parallels.com
Thu Apr 18 06:31:51 EDT 2013
I hate this patch! Why do you decide to not generate tags for tests?
I used this functionality very often, it was useful. In which situation
is it inconvenient?
On Wed, Apr 03, 2013 at 10:31:34AM +0400, Cyrill Gorcunov wrote:
>
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> ---
> Makefile | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Makefile b/Makefile
> index c2b2d7b..dc070bd 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -194,11 +194,11 @@ distclean: clean
> tags:
> $(E) " GEN" $@
> $(Q) $(RM) tags
> - $(Q) $(FIND) . -name '*.[hcS]' ! -path './.*' -print | xargs ctags -a
> + $(Q) $(FIND) . -name '*.[hcS]' ! -path './.*' ! -path './tools/*' ! -path './test/*' -print | xargs ctags -a
>
> cscope:
> $(E) " GEN" $@
> - $(Q) $(FIND) . -name '*.[hcS]' ! -path './.*' -print > cscope.files
> + $(Q) $(FIND) . -name '*.[hcS]' ! -path './.*' ! -path './tools/*' ! -path './test/*' -print > cscope.files
> $(Q) $(CSCOPE) -bkqu
>
> docs:
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu
More information about the CRIU
mailing list