This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Install question


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]