[Top][All Lists]

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

Re: [PATCH 5/7] add _HEADERS primaries to Makefile.am snippets for insta

From: Bruno Haible
Subject: Re: [PATCH 5/7] add _HEADERS primaries to Makefile.am snippets for installable headers
Date: Tue, 12 Oct 2010 22:55:09 +0200
User-agent: KMail/1.9.9

Hi Gary,

> Originally, I added noinst_HEADERS to the module definition files,
> and then changed them all to nobase_nodist_include_HEADERS and
> EXTRA_HEADERS in gnulib-tool if the gnulib library is installable.
> However, I think it is much more flexible to add the
> 'nodist_include_HEADERS' or 'nobase_nodist_include_HEADERS' and
> 'EXTRA_HEADERS' as appropriate to the circumstances in each module
> file

I agree that declaring them with ..._include_HEADERS is clearer than
with noinst_HEADERS.

But why bother using nodist_include_HEADERS in some cases and
nobase_nodist_include_HEADERS in others? I would use
nobase_nodist_include_HEADERS everywhere, for consistency. It avoids a
pitfall when someone is writing a new module, say, 'sys_mman', based on

And what's the role or effect of EXTRA_HEADERS? Automake does not do
anything with .h files that it doesn't do with .png files. gnulib-tool
already synthesizes EXTRA_DIST augmentations for files that are to be


reply via email to

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