automake
[Top][All Lists]
Advanced

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

Re: appending to BUILT_SOURCES, if appropriate


From: Eric Blake
Subject: Re: appending to BUILT_SOURCES, if appropriate
Date: Thu, 11 Mar 2010 13:42:27 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100301 Fedora/3.0.3-1.fc12 Lightning/1.0b1 Thunderbird/3.0.3

On 03/11/2010 01:39 PM, Adam Mercer wrote:
> include path/to/Makefile.common
> 
> The problem is that some Makefile.am's already define BUILT_SOURCES,
> whilst some do not. Is there a way that I can append to BUILT_SOURCES,
> if it already exists, or define it if it doesn't?

How about modifying the makefiles that don't append to BUILT_SOURCES to
just add the line

BUILT_SOURCES=

prior to the include, then use BUILT_SOURCES+= in the included file.

-- 
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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