[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] add a 'tags' target for ctags
Add a 'tags' target for ctags, just like the kernel has. I use this all the time... Signed-off-by: Rik van Riel <riel@xxxxxxxxxx> --- xen-unstable/xen/Makefile.tags 2005-03-28 15:11:00.000000000 -0500 +++ xen-unstable/xen/Makefile 2005-03-28 15:11:25.000000000 -0500 @@ -103,7 +103,7 @@ include/asm-$(TARGET_ARCH)/asm-offsets.h echo ""; \ echo "#endif") <$< >$@ -.PHONY: default debug install dist clean delete-unfresh-files TAGS +.PHONY: default debug install dist clean delete-unfresh-files TAGS tags SUBDIRS = arch common drivers TAGS: @@ -111,5 +111,10 @@ TAGS: find include -type d \( -name "asm-*" -o -name config \) -prune -o \ -name '*.h' -print; \ find $(SUBDIRS) -name '*.[chS]' ) | grep -v /SCCS/ | etags - +tags: + ( find include/asm-$(TARGET_ARCH) -name '*.h'; \ + find include -type d \( -name "asm-*" -o -name config \) -prune -o \ + -name '*.h' -print; \ + find $(SUBDIRS) -name '*.[chS]' ) | grep -v /SCCS/ | xargs ctags MAP: nm $(TARGET) | grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | sort > System.map _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |