On Thu, 2007-09-20 at 10:05 +0200, Ralf Wildenhues wrote: > Hello, > > * Ralf Corsepius wrote on Thu, Sep 20, 2007 at 09:46:12AM CEST: > > On Wed, 2007-09-19 at 19:32 -0700, Poe wrote: > > > > > > I have a pre-built shared library (.so) that I want to distribute, and > > > when > > > "make install" is executed I need it to be installed in the libdir along > > > with libraries that are built during the make process. > > > dist_lib_DATA = libxxx.so > > That won't get the right (execute) permissions of libxxx.so,
Adding an install-data-hook is another one. > and > automake complains > | Makefile.am:1: `libdir' is not a legitimate directory for `DATA' Ohh yeah - I forgot about this ole' bug in automake (IMO, automake is plain wrong on not letting other files go into $libdir). > A workaround is to > mylibdir = $(libdir) > dist_mylib_SCRIPTS = libxxx.so Ralf