bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug #64571] Add option to print targets


From: Martin Dorey
Subject: Re: [bug #64571] Add option to print targets
Date: Mon, 8 Jan 2024 17:52:22 +0000

I could easily install it on Debian Wheezy (via wheezy-backports), a release from ten years ago.  I can't see someone using the next version of Gnu Make and wanting cutting edge facilities for debugging their makefiles on such a crusty old thing.  JSON feels like a good, mature choice to me, one I've seen used successfully elsewhere.


From: bug-make-bounces+martin.dorey=hds.com@gnu.org <bug-make-bounces+martin.dorey=hds.com@gnu.org> on behalf of Tim <INVALID.NOREPLY@gnu.org>
Sent: Monday, January 8, 2024 09:31
To: Tim <tdhutt@gmail.com>; Paul D. Smith <psmith@gnu.org>; Benjamin Tilley <tilleyben@hotmail.com>; Miguel Moreno <m.a.moreno.r@icloud.com>; psmith@gnu.org <psmith@gnu.org>; boris@kolpackov.net <boris@kolpackov.net>; bug-make@gnu.org <bug-make@gnu.org>
Subject: [bug #64571] Add option to print targets
 
***** EXTERNAL EMAIL *****

Follow-up Comment #14, bug#64571 (group make):

I think JSON would be a good solution.

> (b) these tools (like jq for example) are not part of most standard systems
and so can't be relied on to exist everywhere,

It's no harder to install `jq` than it is to install `make` these days, even
on relatively ancient distros. I don't see why this would be an issue.

> (c) jq, at least, is somewhat tricky to use correctly especially if you want
to do matching etc.

I don't particularly like its syntax but it's not especially difficult, and
let's face it most people are going to be googling "how to print make targets"
and copy/pasting the first stack-overflow page.

On the other hand, maybe it is over-complicating things.


    _______________________________________________________

Reply to this item at:

  <https://nam04.safelinks.protection.outlook.com/?url="">>

_______________________________________________
Message sent via Savannah
https://nam04.safelinks.protection.outlook.com/?url="">



reply via email to

[Prev in Thread] Current Thread [Next in Thread]