[gtkada] another path error when specified DESTDIR during installation

Jacob Sparre Andersen sparre at nbi.dk
Wed Apr 11 11:24:00 CEST 2012


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."


More information about the gtkada mailing list