[Top][All Lists]

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

Re: Conditional append

From: Shaun Jackman
Subject: Re: Conditional append
Date: Thu, 6 Jan 2005 09:26:04 -0800

That's the right track. My problem, though, is that your little
snippet is in an included automake snippet.

include $(top_srcdir)/

or simply

include $(top_srcdir)/

and needs to add one file to CLEANFILES in both cases.


> I haven't tried this with CLEANFILES, but I have run the same problem
> with other automake variables.
> I get around it with something like:
>       CLEANFILES =
>       if BUILD_FOO
>       CLEANFILES += bar quux
>       endif
> > The automake files of my project may or may not define CLEANFILES,
> > they then include an automake snippet which conditionally appends a
> > file to CLEANFILES. I can't use either = or += because I get either
> >
> > CLEANFILES must be set with `=' before using `+='
> >     or
> > CLEANFILES was already defined in condition TRUE,
> > which includes condition FLASH_IMAGE ...
> >
> > How do I append to CLEANFILES in an included automake snippet?

reply via email to

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