From: Horms Subject: [RFC] build: use xargs in conjunction with etags Date: Fri, 23 Jun 2006 17:32:43 +0900 Message-ID: <20060623083241.GA9323@verge.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel List-Id: xen-devel@lists.xenproject.org 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 --- 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: