Hillier, Gernot wrote:
> Hi again!
> 
> Current SVN head fails to do "make install" when you use --prefix=/usr
> resulting in the includedir /usr/include:
> 
> --- SNIP ---
> make[2]: Entering directory `/home/gernot/xenomai/include'
> make[3]: Entering directory `/home/gernot/xenomai/include'
> make[3]: Nothing to be done for `install-exec-am'.
> rm -f /usr/include/asm
> rm: cannot remove `/usr/include/asm': Is a directory
> make[3]: *** [install-data-local] Error 1
> --- SNAP ---
> 
> As far as I understood Jan, using /usr/include is a bad idea, so I
> created a patch telling the user what went wrong in a nicer way.
> 
> Please apply if you consider it to be the right fix (tm).
>

That makes sense, especially since that would prevent people from inadvertently
trashing their local header space. People who really want to play this game
should use DESTDIR explicitly instead. Merged, thanks.

> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Xenomai-core mailing list
> Xenomai-core@gna.org
> https://mail.gna.org/listinfo/xenomai-core


-- 
Philippe.

_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to