Re: Ability to print the make database as json - experimental

Tim Murphy <[email protected]>
Newsgroups gmane.comp.gnu.make.bugs
Message-ID <CACJSg6nA17i8+wfEUuAi9pjf=3js2GXN0rO=nP1zU+sW2SczpA@mail.gmail.com>
On Thu, 20 Mar 2025 at 21:07, David A. Wheeler <[email protected]>
wrote:

>
>
> > On Mar 18, 2025, at 1:21 PM, Tim Murphy <[email protected]> wrote:
> >
> > I've recently updated and rebased my experimental fork of make with the
> branch that dumps the internal database of the makefile to JSON format
> files.
>
> I would *dearly* love to have the ability to receive a dump of the
> makefile database in JSON format.
>
> There are many tools that can pretty-print JSON once you have it. So if
> formatting the JSON is hard,
> I suggest not focusing on it. Let other tools that focus on that job do it.
>

Yes you're right!   I think the main thing left to do is directories. After
that some better way to build a single json from the multiple outputs for
each submake.

I cannot at the moment see this being added to make proper - at least not
for some time.  So it's still a thing one has to build to use - but perhaps
I can come up with a PPA or some other thing like that to make it a bit
easier to get.

Regards,

Tim
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.