autoconf
[Top][All Lists]
Advanced

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

Re: includedir option


From: Ralf Corsepius
Subject: Re: includedir option
Date: Wed, 02 Nov 2005 13:48:23 +0100

On Wed, 2005-11-02 at 04:15 -0800, Ven Heusan wrote:
> Hi all,
> 
> For my library package, I have written 'configure'
> script with includedir variable as:
>    includedir='/usr/include/mylib'
>
> My Makefile.in also has the same value for includedir
> 
> So that my header files can be installed in
> "/usr/include/mylib" directory.
> 
> I first run ./configure script to generate Makefile.
> And I checked includedir variable, it contains the
> same value (ie, includedir='/usr/include/mylib' )
> 
> When I run make, it again runs "configure" script, but
> this time it modifies configure script as:
>   includedir='${prefix}/include'
> 
> So the header files will be installed into
> /usr/include or /usr/local/include. But I want it to
> be installed in the specified directory
> (/usr/include/mylib)
> 
> Can anyone suggest me how I can achieve this?

Change your Makefile.ins to install to $(includedir)/mylib

Ralf






reply via email to

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