[CRIU] [PATCHv2 1/2] build/nmk: use TAGS instead ETAGS and CTAGS

Cyrill Gorcunov gorcunov at gmail.com
Thu Feb 25 03:06:00 PST 2016


On Thu, Feb 25, 2016 at 12:01:39PM +0100, Laurent Dufour wrote:
> On 25/02/2016 11:26, Dmitry Safonov wrote:
> > Impact: do not use both, do not try to use one of them without a check.
> 
> Why not using both ?
> 
> The man mentions:
> 
> "The  etags  program is used to create a tag table file, in a format un‐
> derstood by emacs(1); the ctags program is used to create a similar ta‐
> ble  in a format understood by vi(1)."
> 
> Would you please elaborate ?

Guys, before 2.0 we've been using ctags all the time

tags:
	$(E) "  GEN     " $@
	$(Q) $(RM) tags
	$(Q) $(FIND) . -name '*.[hcS]' ! -path './.*' ! -path './test/*' -print | xargs ctags -a

maybe we simply can add a separate target TAGS for etags?


More information about the CRIU mailing list