ctags

From: John Levon (moz@compsoc.man.ac.uk)
Date: Fri Feb 09 2001 - 09:34:59 EST


On the system here, ctags is called ctags-exuberant.
Against 2.4.1ac8

thanks
john

--- Makefile.old Fri Feb 9 14:24:29 2001
+++ Makefile Fri Feb 9 14:06:08 2001
@@ -33,6 +33,7 @@
 STRIP = $(CROSS_COMPILE)strip
 OBJCOPY = $(CROSS_COMPILE)objcopy
 OBJDUMP = $(CROSS_COMPILE)objdump
+CTAGS = ctags
 MAKEFILES = $(TOPDIR)/.config
 GENKSYMS = /sbin/genksyms
 DEPMOD = /sbin/depmod
@@ -334,10 +335,10 @@
 
 # Exuberant ctags works better with -I
 tags: dummy
- CTAGSF=`ctags --version | grep -i exuberant >/dev/null && echo "-I __initdata,__exitdata,EXPORT_SYMBOL,EXPORT_SYMBOL_NOVERS"`; \
- 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 '*.[ch]' | xargs ctags $$CTAGSF -a
+ CTAGSF=`$(CTAGS) --version | grep -i exuberant >/dev/null && echo "-I __initdata,__exitdata,EXPORT_SYMBOL,EXPORT_SYMBOL_NOVERS"`; \
+ $(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 '*.[ch]' | xargs $(CTAGS) $$CTAGSF -a
 
 ifdef CONFIG_MODULES
 ifdef CONFIG_MODVERSIONS

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



This archive was generated by hypermail 2b29 : Thu Feb 15 2001 - 21:00:14 EST