[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Add a tags target to the Xen Makefile.



ChangeSet 1.1159.256.74, 2005/03/28 22:45:46+01:00, kaf24@xxxxxxxxxxxxxxxxxxxx

        Add a tags target to the Xen Makefile.
        Signed-off-by: Rik van Riel <riel@xxxxxxxxxx>
        Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>



 Makefile |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletion(-)


diff -Nru a/xen/Makefile b/xen/Makefile
--- a/xen/Makefile      2005-03-29 03:03:31 -05:00
+++ b/xen/Makefile      2005-03-29 03:03:31 -05:00
@@ -103,7 +103,7 @@
          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/$(TARGET_ARCH) common drivers 
 TAGS: 
@@ -111,5 +111,10 @@
          find include -type d \( -name "asm-*" -o -name config \) -prune -o \
                -name '*.h' -print; \
          find $(SUBDIRS) -name '*.[ch]' ) | 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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.