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 'unistd'. 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 distributed. Bruno