This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-changelog] [xen-unstable] [XEN][BUILD] Both ctags and etags support

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [XEN][BUILD] Both ctags and etags support the -a (append) option, and
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 27 Jun 2006 12:50:20 +0000
Delivery-date: Tue, 27 Jun 2006 05:53:27 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 60d7d64eaff2cb6fa081b960237fa530f48cb9e8
# Parent  23591d2c46aa666a9d50cf36baf73aa0b95aa11b
[XEN][BUILD] Both ctags and etags support the -a (append) option, and
by removing the tags or TAGS file, and then running using the
-a option in conjunction with xargs a full list of tags will
be obtained, regardless of how many files there are.

I believe that the existing invocations of both etags and ctags are wrong:

* I don't think - is a vailid argument to etags

* xargs ctags does not handle the case where ctags is invoked
  multiple times by xargs when there are too many files
  to fit on one command line.

Signed-off-by: Horms <horms@xxxxxxxxxxxx>
 xen/Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r 23591d2c46aa -r 60d7d64eaff2 xen/Makefile
--- a/xen/Makefile      Tue Jun 27 11:23:06 2006 +0100
+++ b/xen/Makefile      Tue Jun 27 11:27:25 2006 +0100
@@ -132,11 +132,11 @@ endef
-       $(all_sources) | etags -
+       rm -f TAGS && $(all_sources) | xargs etags -a
 .PHONY: _tags
-       $(all_sources) | xargs ctags
+       rm -f TAGS && $(all_sources) | xargs ctags -a
 .PHONY: _cscope

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [XEN][BUILD] Both ctags and etags support the -a (append) option, and, Xen patchbot-unstable <=