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: Alexandre Duret-Lutz
Subject: Re: "include $(top_builddir)/aminclude.am" is ignored by automake
Date: Wed, 2 Feb 2005 12:03:48 +0100

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

which Tom is trying to avoid because it is not portable.

If you want to portably include (non-automake) Makefile fragment,
don't use include.  Instead try to use AC_SUBST_FILE, or (IMHO better)
something like AC_CONFIG_FILES([Makefile:Makefile.in:fragment.mk]).




reply via email to

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