[Openais] Patch to easily relocate the install directory

Steven Dake sdake at redhat.com
Mon Sep 4 23:13:58 PDT 2006


Ola,

After looking at the code, it appears the relocation is not totally
correct in trunk.

The current code uses "DESTDIR" which is what a variety of make systems
use to specify the root destination directory for installing.  However,
if installing to /usr/local, this would do something like install the
include dirs to /usr/local/usr/include/openais/service.

I'm not really sure what should be the proper thing to do in this
situation.

I'm not sure about the use of PREFIX vs DESTDIR.

I am a makefile newbie, so if you can clearly explain to me how these
things should appear on the installed system, I'm happy to accept such a
patch.

My main priority is that make DESTDIR=/ makes a working system and
doesn't change from its current well-qaed by several distros state.

Do you need this patch for some form of cross compilation?

Thanks
-steve

On Mon, 2006-09-04 at 10:57 +0200, Ola Lundqvist wrote:
> Hi
> 
> To test this I needed to relocate the install direcotory. This patch do
> it in a clean and nice way. It is especially important for the libexec
> directory.
> 
> Regards,
> 
> // Ola
> 
> _______________________________________________
> Openais mailing list
> Openais at lists.osdl.org
> https://lists.osdl.org/mailman/listinfo/openais




More information about the Openais mailing list