*   even on relatively ancient distro

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....@gnu.org 
<bug-make-bounces+martin.dorey=hds....@gnu.org> on behalf of Tim 
<invalid.nore...@gnu.org>
Sent: Monday, January 8, 2024 09:31
To: Tim <tdh...@gmail.com>; Paul D. Smith <psm...@gnu.org>; Benjamin Tilley 
<tilley...@hotmail.com>; Miguel Moreno <m.a.moren...@icloud.com>; 
psm...@gnu.org <psm...@gnu.org>; bo...@kolpackov.net <bo...@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=https%3A%2F%2Fsavannah.gnu.org%2Fbugs%2F%3F64571&data=05%7C02%7Cmartin.dorey%40hds.com%7Ce0bd5e7fdbb3466f3fdc08dc106f9fc3%7C18791e1761594f52a8d4de814ca8284a%7C0%7C0%7C638403318818905552%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=trHImb5mg%2FJlJUtFUi9EzGVv33GinqHwfPWR7ygle5g%3D&reserved=0<https://savannah.gnu.org/bugs/?64571>>

_______________________________________________
Message sent via Savannah
https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsavannah.gnu.org%2F&data=05%7C02%7Cmartin.dorey%40hds.com%7Ce0bd5e7fdbb3466f3fdc08dc106f9fc3%7C18791e1761594f52a8d4de814ca8284a%7C0%7C0%7C638403318818905552%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=ctSSXAPqgxilDU2sZ%2BCt0Qjj1OsD4GxRWrIIwiX2nbA%3D&reserved=0<https://savannah.gnu.org/>


Reply via email to