* Bruce Korb wrote on Mon, Oct 11, 2010 at 02:59:04AM CEST: > On Sun, Oct 10, 2010 at 3:34 PM, Bruno Haible wrote: > > Bruce Korb wrote: > >> Having looked > >> through the module sources, there is no clear way of > >> deriving the list of header macro names. > > > So you can recognize it through BUILT_SOURCES. > > > > $ for module in `./posix-modules`; do grep '^BUILT_SOURCES += \$(.*_H)$' > > modules/$module; done > > Just to be completely clear, the BUILT_SOURCES in Makefile.am is now > overloaded. Not only does it mean (to automake anyway) that the > source gets built first, but also that it defines a header that is to > be installed for libposix.
You could easily fix that by having a variable posix_headers, adding headers there, and letting gnulib-tool add BUILT_SOURCES += $(posix_headers) to save you duplication. Cheers, Ralf
