automake
[Top][All Lists]
Advanced

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

include_HEADERS


From: Mattias Brändström
Subject: include_HEADERS
Date: Tue, 29 Jul 2003 09:19:19 +0200 (CEST)

Hello!

I have a small question about installing headers and I hope someone
have the time to answer. =)

My project is laid out in a heirarchy something like this:

.../src/project/foo
.../src/project/bar
.../src/project/main

Now I want to install some of my header files when I do 'make
install'. I want to install them in ${prefix}/include laid out in the
same heirarchy as in the source tree and I want to specify what header
files to install in the Makefile.am that is in the same directory as
the header file.

The only way I can think of to do this is to have this in
.../foo/Makefile.am:

fooincludedir = ${prefix}/include/project/foo
fooinclude_HEADERS = headerA.h headerB.h headerX.h

I wonder if this is the conventional way to do this? I know that I
could put a nobase_include_HEADERS directive in .../src/Makefile.am
but I would rather not do that. Is there another neater way? =)

Regards,
Mattias





reply via email to

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