automake
[Top][All Lists]
Advanced

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

Re: share datas


From: Eric Siegerman
Subject: Re: share datas
Date: Mon, 24 Jun 2002 17:39:27 -0400
User-agent: Mutt/1.2.5i

On Thu, Jun 20, 2002 at 06:30:03PM +0300, Baris Simsek wrote:
> i have i directory called 'templates'. Program name is test. i want to 
> install my templates to ${prefix}/share/test/templates
>
> templatedir = ${pkgdatadir}/templates
> template_DATA = templates/test.share

> gives these errors:
>  /usr/bin/install -c -m 644 ./templates/test.share 
> /usr/local/share/test/templates/templates/test.share
> install: /usr/local/share/test/templates/templates/test.share: No such file 
> or directory

It's trying to create an extra "templates" directory.

Try one of these (but do NOT do both; that wouldn't work either):
  1. Say
        templatedir = ${pkgdatadir}
        template_DATA = templates/test.share

  2. Create templates/Makefile.am, containing:
        templatedir = ${pkgdatadir}/templates
        template_DATA = test.share

--

|  | /\
|-_|/  >   Eric Siegerman, Toronto, Ont.        address@hidden
|  |  /
Anyone who swims with the current will reach the big music steamship;
whoever swims against the current will perhaps reach the source.
        - Paul Schneider-Esleben



reply via email to

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