[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#3856) prefix showing up in man pages



Hi Jason,

Here's something to think on:

You can build with a given prefix (this is what I do), that is different 
than where you install the software with make install.  This is what I do:

./configure --prefix=/usr/local

etc,

make depend
make

then, when I go to install, I do:

make install prefix=/usr/local/stow/openldap-<version>


Now, for everything *but* the man pages, libtool seems to know what to do 
correctly here (thinks are linked against /usr/local/lib for libraries, 
etc.  I get the same problem you do as far as the man page declarations at 
the top.  I bet, however, there's a way to use the configure generated 
prefix over the prefix supplied at make install time.

In looking at the man pages, it substitutes "LIBEXECDIR" for the path. 
*Maybe* putting prefix in there instead would solve it, I do not know. 
That, or add a new variable to the makefile to use for substitution instead.

--Quanah

--
Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html

"These censorship operations against schools and libraries are stronger
than ever in the present religio-political climate. They often focus on
fantasy and sf books, which foster that deadly enemy to bigotry and blind
faith, the imagination." -- Ursula K. Le Guin