Folder layout again

Hi all.

The question is: there are several small libraries (libA, libB, libC…)
with
dependencies of each other. For distributing them, I do something like
(if
libA depends on libB, the distributions would look):

libA/
ext
doc
lib

redist/
ext/
libB.so
lib/
libB.rb
libB/
*.rb of libB

But, when I have additionally libC depending on libA, the structures
became
like

libC/lib/redist/lib/libA/lib/redist/lib/libB …

which doesn’t look cool at al.

what’s the normal practice for distributing libraries with complex
dependencies, and not to require user to install (end even know about)
dependant libraries?

Thanks.

V.