WARNING - OLD ARCHIVES

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/
Xen

xen-devel

[Top] [All Lists]

[Xen-devel] [RFC] build: use xargs in conjunction with etags

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [RFC] build: use xargs in conjunction with etags
From: Horms <horms@xxxxxxxxxxxx>
Date: 2006年6月23日 17:32:43 +0900
Delivery-date: 2006年6月23日 07:21:05 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.11+cvs20060403
The existing etags invocation does not seem to work for me,
but using xargs in the same way that it is used for crats does.
I'm pretty sure that is because on Debian etags == ctags,
does anyone have etags lying around to test if this works?
Also, I'm pretty sure this xargs approach will break for both ctags
and etags if there are too many files to for one command line,
as ctags/etags will be invoked multiple times, and the resulting
tags file will only contain the tags for the last invocation.
Signed-Off-By: Horms <horms@xxxxxxxxxxxx>
--- x/xen/Makefile
+++ x/xen/Makefile
@@ -132,7 +136,7 @@ endef
 
 .PHONY: _TAGS
 _TAGS: 
- $(all_sources) | etags -
+ $(all_sources) | xargs etags
 
 .PHONY: _tags
 _tags: 
 xen/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--- x/xen/Makefile
+++ x/xen/Makefile
@@ -132,7 +136,7 @@ endef
 
 .PHONY: _TAGS
 _TAGS: 
- $(all_sources) | etags -
+ $(all_sources) | xargs etags
 
 .PHONY: _tags
 _tags: 
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-devel] [PATCH] build: add disclean target to docs, tools and xen directories , Horms
Next by Date: [Xen-devel] Re: Help please: bug#625 SCSI disk conflicts with?blkfront---best approach for fix? , Horms
Previous by Thread: [Xen-devel] [PATCH] build: add disclean target to docs, tools and xen directories , Horms
Next by Thread: Re: [Xen-devel] [RFC] build: use xargs in conjunction with etags , Markus Armbruster
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /