This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: Possibly silly INCLUDEDIR question
- To: Michael Still <mikal at stillhq dot com>
- Subject: Re: Possibly silly INCLUDEDIR question
- From: Alexandre Duret-Lutz <duret_g at lrde dot epita dot fr>
- Date: 07 Aug 2001 14:08:06 +0200
- Cc: <automake at gnu dot org>
- List-Id: Discussion list for automake <automake.gnu.org>
- Organization: LRDE/EPITA http://www.lrde.epita.fr/
- References: <Pine.LNX.4.30.0108072122330.28146-100000@localhost.localdomain>
>>> "Michael" == Michael Still <mikal@stillhq.com> writes:
[...]
Michael> I can't just add .. to the include path, because this
Michael> doesn't deal with the case when the code is built
Michael> somewhere else on disk.
Use `$(srcdir)/..' instead of `..'
INCLUDES = -I$(srcdir)/..
With you layout this is also equivalant to
INCLUDES = -I$(top_srcdir)
--
Alexandre Duret-Lutz