This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: Install question
- From: Tom Tromey <tromey at redhat dot com>
- To: Patrick Guio <patrick dot guio at fys dot uio dot no>
- Cc: <automake at gnu dot org>
- Date: 22 Jan 2002 12:00:49 -0700
- Subject: Re: Install question
- References: <Pine.LNX.4.30.0201221854260.26622-100000@fyspc-rp18.uio.no>
- Reply-to: tromey at redhat dot com
>>>>> "Patrick" == Patrick Guio <patrick.guio@fys.uio.no> writes:
Patrick> Which variableshall I use in each Makefile.am?
Patrick> nobase_include_HEADERS ? include_HEADERS ? or something
Patrick> else?
There are two basic ways to approach this.
One way is to put everything in the top-level Makefile.am:
nobase_include_HEADERS = include1/foo.h include2/sub/bar.h ...
Another way is to have a Makefile.am in each directory along with
local install macros:
include1/Makefile.am:
inc1dir = $(includedir)/include1
inc1_HEADERS = foo.h
Tom