From: Rusty Russell Date: Mon, 22 Apr 2002 06:11:18 +0000 (-0700) Subject: [PATCH] make TAGS to work with bitkeeper X-Git-Tag: v2.5.9~9 X-Git-Url: http://git.neil.brown.name/?a=commitdiff_plain;h=574faf0f9846f956ae102bf38e3666e1d2ae327b;p=history.git [PATCH] make TAGS to work with bitkeeper Peter Chubb : make TAGS to work with bitkeeper: If you type, `make TAGS' in the top-level of a kernel tree that's been created with bk clone (or if you're using sccs to maintain your own copy), then the sccs control files are included in the TAGS file (sccs distinguishes its control files with an s. prefix rather than using a suffix, so the matches on '*.h' etc pick them up.) --- diff --git a/Makefile b/Makefile index 150945131543..80d60836b56c 100644 --- a/Makefile +++ b/Makefile @@ -347,9 +347,9 @@ fs lib mm ipc kernel drivers net sound: dummy $(MAKE) CFLAGS="$(CFLAGS) $(CFLAGS_KERNEL)" $(subst $@, _dir_$@, $@) TAGS: dummy - 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 '*.[ch]' | xargs etags -a + { find include/asm-${ARCH} -name '*.h' -print ; \ + find include -type d \( -name "asm-*" -o -name config \) -prune -o -name '*.h' -print ; \ + find $(SUBDIRS) init -name '*.[ch]' ; } | grep -v SCCS | etags - # Exuberant ctags works better with -I tags: dummy