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

Laurent Dufour ldufour at linux.vnet.ibm.com
Thu Feb 25 04:39:26 PST 2016


On 25/02/2016 13:25, Pavel Emelyanov wrote:
> On 02/25/2016 02:15 PM, Cyrill Gorcunov wrote:
>> On Thu, Feb 25, 2016 at 02:10:40PM +0300, Dmitry Safonov wrote:
>>> On 02/25/2016 02:01 PM, 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 ?
>>> I guess, people mostly use one of them: vi/vim or emacs.
>>> As I see it: if you prefer emacs, you practically never launch
>>> vi to do any thing. And vice versa.
>>
>> Nope. I use both :) So I guess better to stick with backward
>> compatibility.
>>
>> make tags --> generate ctags
>> make TAGS --> generate etags
> 
> Typing smth in command line in capital letters is annoying :(
> Do ctags and etags generate different filenames?

To keep compatibility with the previous target, I'd suggest to just add
a new target 'etags' to build etags and keep 'tags' for ctags only.

If no one is against I'll build a patch for that.



More information about the CRIU mailing list