what is the point of bfd/doc/ header generation rules

Mike Frysinger vapier@gentoo.org
Thu Dec 2 16:44:37 GMT 2021
On 02 Dec 2021 17:39, Alan Modra via Binutils wrote:
> On Wed, Dec 01, 2021 at 11:57:10PM -0500, Mike Frysinger wrote:
> > bfd/doc/ has a few curious files that i can't seem to find docs on or any
> > references to.  are they just uncommon maintainer-esque rules ?  or are
> > they obsolete things that i can delete ?
> > 
> > specifically, what is the point of:
> > $ cd bfd/doc/
> > $ make libbfd.h libcoff.h bfd.h
> 
> See the headers rule in bfd/Makefile.am.  The above files are made in
> bfd/doc when regenerating bfd/libbfd.h, bfd/libcoff.h, and
> bfd/bfd-in2.h.

ok, but why is it in the doc/ dir to begin with ?  doesn't it make more
sense to move all of those rules/logic to the top-level Makefile.am ?
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20211202/2392cbf9/attachment.sig>


More information about the Binutils mailing list