automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to install additional files in "make install"


From: Ralf Wildenhues
Subject: Re: How to install additional files in "make install"
Date: Thu, 20 Sep 2007 10:05:23 +0200
User-agent: Mutt/1.5.16 (2007-07-25)

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, and
automake complains
| Makefile.am:1: `libdir' is not a legitimate directory for `DATA'

A workaround is to
  mylibdir = $(libdir)
  dist_mylib_SCRIPTS = libxxx.so

Cheers,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]