bug-gnulib
[Top][All Lists]
Advanced

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

Re: libposix - is it done yet?


From: Bruce Korb
Subject: Re: libposix - is it done yet?
Date: Sun, 10 Oct 2010 22:08:56 -0700

Hi Ralf,

On Sun, Oct 10, 2010 at 10:04 PM, Ralf Wildenhues
<address@hidden> wrote:
>> > $ 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.

Once the $(posix_headers) is computed, the rest is, indeed, easy.
So, if you've got an easy way to compute $(posix_headers), then I'm
all ears.  :)



reply via email to

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