[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: include_HEADERS
From: |
Mattias Brändström |
Subject: |
Re: include_HEADERS |
Date: |
Tue, 29 Jul 2003 10:33:07 +0200 (CEST) |
On Tue, 29 Jul 2003, Alexandre Duret-Lutz wrote:
> On Tue, Jul 29, 2003 at 09:19:19AM +0200, Mattias Br?ndstr?m wrote:
> >
> > fooincludedir = ${prefix}/include/project/foo
> > fooinclude_HEADERS = headerA.h headerB.h headerX.h
> >
> > I wonder if this is the conventional way to do this?
>
> Yes. That, or the nobase_ setting you mention.
>
> However hardcoding $(prefix)/include will ignore configure's
> --includedir option. If it's not intentional, better use
>
> fooincludedir = $(includedir)/project/foo
>
> or even
>
> fooincludedir = $(pkgincludedir)/foo
>
Thanks! I'll use ${includedir} from now on! =)
:.:: mattias