This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: share datas
- From: Eric Siegerman <erics at telepres dot com>
- To: automake at gnu dot org
- Date: Mon, 24 Jun 2002 17:39:27 -0400
- Subject: Re: share datas
- Organization: Telepresence Systems Inc.
- References: <20020620183003.A42150@acikkod.org>
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. erics@telepres.com
| | /
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