On 10/01/2015 17:16, James wrote:
On 08/01/2015 00:25, Brian Eliassen wrote:
Install prefix . : /usr/local
Oooh, I suggest you use /opt
./configure \
--prefix=${PREFIX} \
--sysconfdir=/etc/opt/${PREFIX} \
--localstatedir=/var/opt/${PREFIX} \
...
$ man -s 5 filesystem
Ha! I changed my concept of "prefix" as I wrote. My apologies for
needing a second attempt. I also divide up /var/ and /etc by project.
PREFIX=/opt/abcd
./configure \
--prefix=${PREFIX} \
--sysconfdir=/etc${PREFIX}/dovecot \
--localstatedir=/var${PREFIX}/dovecot \
...
The other way I think of prefix is more generally, if "abcd" is the
chosen identifier the file prefix is "/opt/abcd" or "/opt/${prefix}".
This identifier is used as a prefix in several places like the SVR4
package name and service name.