[Top][All Lists]

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

Re: Conditional append

From: Stepan Kasal
Subject: Re: Conditional append
Date: Fri, 7 Jan 2005 10:16:41 +0100
User-agent: Mutt/1.4.1i


On Thu, Jan 06, 2005 at 09:26:04AM -0800, Shaun Jackman wrote:
> bin_PROGRAMS=hello
> CLEANFILES=something
> include $(top_srcdir)/
> or simply
> bin_PROGRAMS=goodbye
> include $(top_srcdir)/
> and needs to add one file to CLEANFILES in both cases.

well, I see two ways:

1) Either each calling has to set CLEANFILES, so the
later snippet has to set
        CLEANFILES =
before the include.  It shouldn't be difficult to make that change

2) Or the starts with
        CLEANFILES =
and each caller takes care not to touch it before the include.
So the former snippet will become

bin_PROGRAMS = hello
include $(top_srcdir)/
CLEANFILES += something

        Stepan Kasal

reply via email to

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