automake
[Top][All Lists]
Advanced

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

Re: How to install data / lib in more than 1 place?


From: Nick Bowler
Subject: Re: How to install data / lib in more than 1 place?
Date: Wed, 11 Dec 2019 15:36:10 -0500

On 12/11/19, Georg-Johann Lay <address@hidden> wrote:
>> On Tue, 10 Dec 2019, Georg-Johann Lay wrote:
[...]
>>> Will this also work with same file names? Like
>>>
>>> avrfoo_LIBRARIES = libfoo.a
>>>
>>> avrbar_LIBRARIES = libfoo.a
>>>
>>> or would that confuse the tools?
[...]
> It appears to work though, and even if the libs are built multiple
> times, I could reduce the number of Makefile.am's from ~1200 to ~250.

Another option is to use an install hook to copy a file installed in one
location into all the other locations.  Using a hook would also enable you
to e.g., link the files instead of copying them when that is possible.

Cheers,
  Nick



reply via email to

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