[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 14:18:45 +0100 |
On Wed, 2005-11-02 at 13:51 +0100, Stepan Kasal wrote:
> Hello,
>
> > includedir='/usr/include/mylib'
>
> I believe it's safer to use your own prefix.
> Put this to your Makefile.am:
>
> mylib_headersdir = /usr/include/mylib
Urghh,
... YOU are proposing to hard-code /usr/include?
Don't ever do this, ... :-)
> mylib_headers_HEADERS = ...
The OP didn't mention to be using automake.
In that case he would want:
mylib_headersdir = $(includedir)/mylib
mylib_headers_HEADERS = ...
Ralf