« Return to Thread: another path error when specified DESTDIR during installation

Re: another path error when specified DESTDIR during installation

by Jacob Sparre Andersen :: Rate this Message:

| View in Thread

Emmanuel Briot wrote:

>> Found another install bug, when specific DESTDIR in make
>> install, the installed gtkada.gpr, etc, files (generated
>> from projects/generate_prj.sh) contain a path that
>> include the DESTDIR path.

> libdir is set in src/Makefile.common to a value that does
> not contain DESTDIR. So we need to add it in the calls to
> generate_prj.sh.
>
> We do want the generated projects to include DESTDIR I
> believe, otherwise the linker will not find the libraries.

No.  That is what you use "prefix" for.  "DESTDIR" is for
installing to a different directory than where the files are
actually going to be used.

Greetings,

Jacob
--
"Any, sufficiently complicated, experiment is indistinguishable from magic."
_______________________________________________
gtkada mailing list
gtkada@...
http://lists.adacore.com/mailman/listinfo/gtkada

 « Return to Thread: another path error when specified DESTDIR during installation