Commit 574faf0f authored by Rusty Russell's avatar Rusty Russell Committed by Linus Torvalds

[PATCH] make TAGS to work with bitkeeper

Peter Chubb <peter@chubb.wattle.id.au>: 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.)
parent d37cf261
...@@ -347,9 +347,9 @@ fs lib mm ipc kernel drivers net sound: dummy ...@@ -347,9 +347,9 @@ fs lib mm ipc kernel drivers net sound: dummy
$(MAKE) CFLAGS="$(CFLAGS) $(CFLAGS_KERNEL)" $(subst $@, _dir_$@, $@) $(MAKE) CFLAGS="$(CFLAGS) $(CFLAGS_KERNEL)" $(subst $@, _dir_$@, $@)
TAGS: dummy TAGS: dummy
etags `find include/asm-$(ARCH) -name '*.h'` { find include/asm-${ARCH} -name '*.h' -print ; \
find include -type d \( -name "asm-*" -o -name config \) -prune -o -name '*.h' -print | xargs etags -a find include -type d \( -name "asm-*" -o -name config \) -prune -o -name '*.h' -print ; \
find $(SUBDIRS) init -name '*.[ch]' | xargs etags -a find $(SUBDIRS) init -name '*.[ch]' ; } | grep -v SCCS | etags -
# Exuberant ctags works better with -I # Exuberant ctags works better with -I
tags: dummy tags: dummy
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment