lkml.org 
[lkml]   [2000]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectMinor Makefile (ctags) patch.
    Hi,

    The current tags label in /usr/src/linux/Makefile only
    creates a tags file in the current directory. This minor
    patch will create a symbolic link to the tags file in the
    /usr/src/linux. Looking at the ctags man page, it might
    be possible to compensate for the lack of a tags file
    in, say, /usr/src/linux/drivers/sound, using $CTAGS but
    if you have multiple source trees, this saves you the effort
    of exporting and reexporting the variable.

    --- Makefile.orig Wed Mar 15 17:42:33 2000
    +++ Makefile.new Wed Mar 15 18:10:13 2000
    @@ -367,6 +367,7 @@
    ctags $$CTAGSF `find include/asm-$(ARCH) -name '*.h'` && \
    find include -type d \( -name "asm-*" -o -name config \) -prune -o -name '*.h' -print | xargs ctags $$CTAGSF -a && \
    find $(SUBDIRS) init -name '*.c' | xargs ctags $$CTAGSF -a
    + find . -mindepth 2 -type d -exec ln -s `pwd`/tags {} \;

    MODFLAGS += -DMODULE
    ifdef CONFIG_MODULES
    +---------------------------------------------------------------+
    | When you really look for me, you will see me instantly -- |
    | you will find me in the tiniest house of time. |
    | - Kabir |
    +---------------------------------------------------------------+
    | nick dronen (unsigned char *) "ndronen at frii dot com" |
    i+--------------------------------------------------------------+
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:57    [W:3.870 / U:0.220 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site