[imapfilter-devel] buildroot variable in makefile/configure
Michael Skibbe
mskibbe at suse.de
Mon Feb 19 11:53:52 EET 2007
On Friday 16 February 2007 14:46, Lefteris Chatzimparmpas wrote:
> 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.
there is a difference between destdir and buildroot. destdir change the
installation path but i do not want to change this paths. i only want to copy
the files into an other directory to pack them into an rpm.
if i use destdir some coded paths were changed:
strings imapfilter | grep var
/var/tmp/imapfilter-1.2.2-build/share/imapfilter/interface.lua
/var/tmp/imapfilter-1.2.2-build/share/imapfilter/auxiliary.lua
if i use buildroot this pathes are not changed.
greetings Michael
--
Michael Skibbe <mskibbe at suse.de>
Core Services
SUSE Linux Products GmbH GF: Markus Rex
Nuernberg, Germany HRB 16746 (AG Nuernberg)
More information about the Imapfilter-devel
mailing list