lkml.org 
[lkml]   [2005]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subject[PATCH]add '--extra=+f' to ctags in Makefile in order to search for file names
    From
    Date
    I usually add the following to ctags in the Makefile so I can search for
    file names in my editor. If you think others would find this useful too,
    then please apply.

    --- linux-2.6.10/Makefile.orig 2005-01-11 22:45:30.971843616 -0500
    +++ linux-2.6.10/Makefile 2005-01-11 22:56:07.308105800 -0500
    @@ -1167,7 +1167,7 @@
    define cmd_tags
    rm -f $@; \
    CTAGSF=`ctags --version | grep -i exuberant >/dev/null && echo
    "-I __initdata,__exitdata,EXPORT_SYMBOL,EXPORT_SYMBOL_NOVERS"`; \
    - $(all-sources) | xargs ctags $$CTAGSF -a
    + $(all-sources) | xargs ctags $$CTAGSF -a --extra=+f
    endef

    TAGS: FORCE


    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:09    [W:0.018 / U:29.924 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site