[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: appending to DEPENDENCIES
From: |
Eric Blake |
Subject: |
Re: appending to DEPENDENCIES |
Date: |
Mon, 17 May 2010 12:08:05 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-3.fc13 Lightning/1.0b1 Mnenhy/0.8.2 Thunderbird/3.0.4 |
On 05/17/2010 12:02 PM, Ralf Wildenhues wrote:
> Hi Eric,
>
> * Eric Blake wrote on Sat, May 15, 2010 at 01:41:08AM CEST:
>> Right now, either you use foo_DEPENDENCIES and have to list everything
>> yourself, or you omit it, and automake does a good job. But what about
>> the case where you want automake to do its automatic dependencies, and
>> then you add one more file? It seems like it would be nice to support
>> foo_DEPENDENCIES += other_file, without requiring that foo_DEPENDENCIES=
>> previously occur in the file.
>
> Yes, such a mechanism would be nice. The Automake way wouldn't be to
> allow 'foo_DEPENDENCIES +=' without prior initialization though (that
> would defeat typo detection, and probably complicate the internal logic
> wrt. conditionals), but adding of another variable to the default list
> of foo_DEPENDENCIES. I guess. Suggestions for naming such a variable?
How about 'foo_EXTRA_DEPENDENCIES'?
--
Eric Blake address@hidden +1-801-349-2682
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature