automake
[Top][All Lists]
Advanced

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

Re: Appending to builtin Automake variables from an included file


From: Jan Engelhardt
Subject: Re: Appending to builtin Automake variables from an included file
Date: Thu, 26 Feb 2009 01:04:09 +0100 (CET)
User-agent: Alpine 2.00 (LSU 1167 2008-08-23)

On Thursday 2009-02-26 00:44, Allan Caffee wrote:
>
>What is the cleanest to way to append something to a builtin variable
>(e.g.  MAINTAINERCLEANFILES) from an Automake "header".[...]
>Is there a cleaner, ideally non-invasive method for
>adding things to these builtin lists?

In one project I use -- though not a "header + main makefile" but
a "main makefile + subordinates" layout --:

# Makefile.am (http://tinyurl.com/dhxfwf)
bin_PROGRAMS =
include bar/Automakefile
include foo/Automakefile

# bar/Automakefile
bin_PROGRAMS += bar

# foo/Automakefile
bin_PROGRAMS += foo

that is, setting all variables ever used to "" before appending to them.




reply via email to

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