[Top][All Lists]

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

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

From: Ralf Corsepius
Subject: Re: "include $(top_builddir)/" 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)/
> This should have the same effect as
> include $(top_builddir)/
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)/
inlines into

include $(MYDIR)/
cause automake to skip inlining and propagates
include $(MYDIR)/

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


reply via email to

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