Mailinglist Archive: yast-devel (144 mails)

< Previous Next >
Re: [yast-devel] Introduce Y2DIR "lib" directory
Dne 15.8.2013 14:00, Lukas Ocilka napsal(a):
On 08/14/2013 11:43 AM, Martin Vidner wrote:
On Tue, Aug 13, 2013 at 03:59:44PM +0200, Lukas Ocilka wrote:
The only piece of information which is missing (or I can't find) is
Where is this directory './lib' installed on the system?

Ruby bindings look for it under Y2DIR, so it is
/usr/share/YaST2/lib by default.

Wouldn't it be better to have it in /usr/share/YaST2/${module_name}/lib
instead? It's
a private library for that module and can potentially collide with any library
belonging to another Yast module.

You should create a subdirectory there, like
It's the same as includes (/usr/share/YaST2/include/${module_name}/).

This should avoid collisions.

The makefiles/devtools don't contain any helpers for that currently.

I can look at it later to make it unified...


Ladislav Slez√°k
Appliance department / YaST Developer
Lihovarsk√° 1060/12
190 00 Prague 9 / Czech Republic
tel: +420 284 028 960
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: yast-devel+owner@xxxxxxxxxxxx

< Previous Next >