On Wed, 10 Dec 2014, Michael Str?der wrote:
HI!
Is there a possibility to tell ./configure to install the slapd executable also in /usr/sbin/ instead of libexecdir?
I set --libexecdir to arch-specific directory /usr/lib or /usr/lib64 for the loadable modules but would like to have slapd in the arch-independent directory /usr/sbin/.
Ciao, Michael.
Wouldn't it just be --libdir={lib,lib64} and then if you want --libexec=/usr/sbin?
and/or if you wanted /usr/local/libexec/slapd to be created, and get a sbin/ helper link, you could perhaps cheat a bit with:
make install SLAPTOOLS='slapadd [..] slapd [..] slapschema'
obviously a bit fragile, you have to keep your list of SLAPTOOLS up to date (or write a fragment of packaging code to figure it out).