automake
[Top][All Lists]
Advanced

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

Re: stripping directory component from installation file pathname


From: Ralf Corsepius
Subject: Re: stripping directory component from installation file pathname
Date: Mon, 24 Feb 2014 11:29:57 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

On 02/24/2014 11:13 AM, Marco Maggi wrote:
Ralf Corsepius wrote:
Do I understand correctly, your issue is installation dirs?
In that case you can try to use a separate installation-dir
variable. something along the lines of:
mystuffdir =$(datadir)/stuff
datadir_stuff_DATA = lib/stuff/alpha.fasl
No.  What I have now is:

    bundledlibsdir = $(libdir)/vicare-scheme
    nobase_nodist_bundledlibs_DATA = \
       lib/stuff/alpha.fasl \
       lib/stuff/beta.fasl

and the fasl files are installed as:

    /usr/local/lib64/vicare-scheme/lib/stuff/alpha.fasl
    /usr/local/lib64/vicare-scheme/lib/stuff/beta.fasl

I  do not  want the  "lib" component,  I want  the installed
files to be:

    /usr/local/lib64/vicare-scheme/stuff/alpha.fasl
    /usr/local/lib64/vicare-scheme/stuff/beta.fasl

Sorry, there was an ugly typo in my example.

Let me try to rebase it on your usecase:

stuffdir =  $(libdir)/vicare-scheme/stuff
stuff_DATA = \
    lib/stuff/alpha.fasl \
    lib/stuff/beta.fasl

Ralf




reply via email to

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