[imapfilter-devel] buildroot variable in makefile/configure

Lefteris Chatzimparmpas lefcha at hellug.gr
Fri Feb 16 15:46:53 EET 2007


Michael Skibbe wrote:
> Hi,
> 
> I propose to add a variable called "buildroot" in the makefile and configure. 
> This variable should handle install into a specific directory and is only a 
> prefix to all directories. By default empty.
> 
> here is my patch to integrate this "feature"
> 
> [...]

Hello,

Thank you, but...

I believe that the variable "destdir" plays this role.  If you take a
closer look at the beginning of the configure script, the directories
for the binary, shared files and man pages, can be based upon this
installation directory, a variable that works as a prefix:

  destdir="/usr/local"
  bindir="$destdir/bin"
  sharedir="$destdir/share/imapfilter"
  mandir="$destdir/man"

One can change the default installation directory using the configure
script like this:

  ./configure -d /path/to/dir

For more options:

  ./configure -h

L.




More information about the Imapfilter-devel mailing list