Messages in this thread Patch in this message | | | Date | Wed, 15 Mar 2000 18:11:02 -0700 | From | Nicholas Dronen <> | Subject | Minor 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/
| |