[PATCH-OF-PATCH] TAGS and tags in Makefile.

From: Nicholas Dronen (ndronen@frii.com)
Date: Wed Mar 15 2000 - 20:52:38 EST


There was a blatant error in the Makefile patch I just sent.
Here's one that works (which applies to etags as well).

--- Makefile.orig Wed Mar 15 17:42:33 2000
+++ Makefile.new Wed Mar 15 18:49:47 2000
@@ -360,6 +360,7 @@
        etags `find include/asm-$(ARCH) -name '*.h'`
        find include -type d \( -name "asm-*" -o -name config \) -prune -o -name '*.h' -print | xargs etags -a
        find $(SUBDIRS) init -name '*.c' | xargs etags -a
+ SRCDIR=`pwd` ; find . -mindepth 2 -type d -exec ln -s $$SRCDIR/TAGS {} \;

 # Exuberant ctags works better with -I
 tags: dummy
@@ -367,6 +368,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
+ SRCDIR=`pwd` ; find . -mindepth 2 -type d -exec ln -s $$SRCDIR/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/



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:17 EST