Le 9 déc. 08 à 23:57, Clint Adams a écrit :

[For the automake guys, the question is whether it's possible to have a computed name for a (libtool) library.]

On Tue, Dec 09, 2008 at 10:44:44PM +0100, Akim Demaille wrote:
I have written this because that's how it appears in the script itself,
see fakeroot.in:

[EMAIL PROTECTED]@@DLSUFFIX@

and in scripts/Makefile:

do_subst = sed -e 's,[EMAIL PROTECTED]@],$(prefix),g' \
           -e 's,[EMAIL PROTECTED]@],$(bindir),g' \
           -e 's,[EMAIL PROTECTED]@],$(libdir),g' \
           -e 's,[EMAIL PROTECTED]@],'`echo fakeroot | sed -e '$
(transform)'`',g' \

But you are right, afaict, the top level Makefile.am does not try to
transform the lib name, so script/Makefile.am can also be simplified.

Ah, hmm. The libraries are transformed as part of the Debian package build
since the `make install` doesn't do it, so of course this is a bug in
scripts/*, but one that works for a single case.

Can libtool be bent to do this easily so I can make it consistent?

I have no idea.  Actually, I doubt it :(




Reply via email to