[Dovecot] Configure/install path overrides
Hi,
I'm building and installing dovecot on a Solaris 10 machine and therefore I want to install Dovecot in /opt/dovecot. Thus, I start configure with --prefix=/opt/dovecot. I also override things like 'libexecdir', 'docdir', etc.
When calling make install, Dovecot is installed in /opt/dovecot, but for example the binary user files are installed in /opt/dovecot/bin/dovecot. The same for the docs, which are installed in /opt/dovecot/share/doc/dovecot.
I think that's not quite nice and neat, so I call 'make install' like: make docdir=/opt/dovecot/share/doc install. But even then, the wiki stuff is still installed in /opt/dovecot/share/doc/dovecot/wiki in stead of /opt/dovecot/share/doc/wiki. Very anoying.
My point is that ./configure should be able to override all paths, but since some paths are somehow hard-coded in the Makefile, this is impossible. Any chance this will (be) change(d) sometime?
-Remy
On Tue, 2007-09-25 at 14:24 +0200, Remy Zandwijk wrote:
I think that's not quite nice and neat, so I call 'make install' like: make docdir=/opt/dovecot/share/doc install. But even then, the wiki stuff is still installed in /opt/dovecot/share/doc/dovecot/wiki in stead of /opt/dovecot/share/doc/wiki. Very anoying.
This should fix it: http://hg.dovecot.org/dovecot/rev/0da3d9671426
I'm not entirely sure if that breaks with some automake versions, so I won't change it in v1.0 at least yet.
My point is that ./configure should be able to override all paths, but since some paths are somehow hard-coded in the Makefile, this is impossible. Any chance this will (be) change(d) sometime?
If there are some reasonable ways to change them I'll do it.
participants (2)
-
Remy Zandwijk
-
Timo Sirainen