automake
[Top][All Lists]
Advanced

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

Re: "include $(top_builddir)/aminclude.am" is ignored by automake


From: Ralf Corsepius
Subject: Re: "include $(top_builddir)/aminclude.am" is ignored by automake
Date: Wed, 02 Feb 2005 13:08:38 +0100

On Wed, 2005-02-02 at 12:03 +0100, Alexandre Duret-Lutz wrote:
> On Wed, Feb 02, 2005 at 11:46:28AM +0100, Ralf Corsepius wrote:
> > MYDIR=$(top_builddir)
> > include $(MYDIR)/aminclude.am
> 
> This should have the same effect as
> 
> include $(top_builddir)/aminclude.am
OK, you're right, I didn't read carefully enough and mixed up
$(top_srcdir) with $(top_builddir)

As far as $(top_srcdir) is concerned, it doesn't have the same effect.

include $(top_srcdir)/aminclude.am
inlines aminclude.am into Makefile.am

include $(MYDIR)/aminclude.am
cause automake to skip inlining and propagates
include $(MYDIR)/aminclude.am
into Makefile.in

> which Tom is trying to avoid because it is not portable.
"include" is non-portable, but otherwise (esp. if requiring gmake) it
works.

Ralf






reply via email to

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