[Top][All Lists]

[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 10:34:05 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0

On 02/24/2014 10:01 AM, Marco Maggi wrote:

   I am moving  a package that compiles many  source files to
many binary  files, from "one  per subdirectory"
to a  single top level  Most of the  thing has
gone fine (excluding the tedium of rechecking all the search

   This  transition has  introduced  a  problem, though;  the
package takes source files:


and compiles them to:


everything  was  fine  before  with  a  in  the
$(srcdir)/lib directory:  the files were listed  without the
"lib" component.  Now I list the files as:

     nobase_nodist_bundledlibs_DATA = \
        lib/stuff/alpha.fasl \

and I  see no way  strip only  the "lib" component  from the
installation  destination.   The  package  distributes  many
files, in many subdirectories: I am  not eager to put in the a set of variables for every subdirectory.

   Has someone found a workaround?

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


reply via email to

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