[prev in list] [next in list] [prev in thread] [next in thread]
List: autoconf
Subject: Re: Installing a directory
From: Ralf Corsepius <rc040203 () freenet ! de>
Date: 2006-06-30 12:59:08
Message-ID: 1151672348.15566.87.camel () mccallum ! corsepiu ! local
[Download RAW message or body]
On Fri, 2006-06-30 at 14:38 +0200, erik wikstrom wrote:
> I'm in the process of migrating a small project to the
> autoconf-framework and I'm almost done. The only thing left to fix is
> the installation (make install). The application consists of an binary
> executable file and a directory of images used by the executable. The
> binary is installed as correctly but I can't figure out how to install
> the directory with the images (should go into $PREFIX/share/appname).
> When I try to run make install it fails with "/usr/bin/install:
> `./images/' is a directory" which is true.
This is an automake question.
> How do I tell install that it's supposed to install a directory, is it
> even possible?
Yes.
If you have contents to populate the directory, then the directory will
be automatically created:
e.g. something like this should work:
imagesdir = $(pkgdatadir)/images
images_DATA = xxx.jpg yyy.jpg
EXTRA_DIST = xxx.jpg yyy.jpg
If you don't have contents, then you can trigger automake to create the
dir with something similar to this:
imagesdir = $(pkgdatadir)/images
images_DATA =
Ralf
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic