direct-io.hg

changeset 10496:60d7d64eaff2

[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@verge.net.au>
author kaf24@firebug.cl.cam.ac.uk
date Tue Jun 27 11:27:25 2006 +0100 (2006-06-27)
parents 23591d2c46aa
children 23136423a765
files xen/Makefile
line diff
     1.1 --- a/xen/Makefile	Tue Jun 27 11:23:06 2006 +0100
     1.2 +++ b/xen/Makefile	Tue Jun 27 11:27:25 2006 +0100
     1.3 @@ -132,11 +132,11 @@ endef
     1.4  
     1.5  .PHONY: _TAGS
     1.6  _TAGS: 
     1.7 -	$(all_sources) | etags -
     1.8 +	rm -f TAGS && $(all_sources) | xargs etags -a
     1.9  
    1.10  .PHONY: _tags
    1.11  _tags: 
    1.12 -	$(all_sources) | xargs ctags
    1.13 +	rm -f TAGS && $(all_sources) | xargs ctags -a
    1.14  
    1.15  .PHONY: _cscope
    1.16  _cscope: