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.        [EMAIL PROTECTED]
|  |  /
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