[Top][All Lists]

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

Re: how to install data directories

From: Eric Blake
Subject: Re: how to install data directories
Date: Fri, 29 Aug 2008 06:38:02 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20080708 Thunderbird/ Mnenhy/

Hash: SHA1

According to Matej Tyc on 8/28/2008 1:53 PM:
> Hello,
> I have a project that I adapt to use Autotools and it is a game. It has
> several directories with data that are required by the program that need
> to be installed somwhere.
> I have used AM_CPPFLAGS = -DDATADIR=\"$(datadir)\" trick and I have
> modified the source files accordingly; however the install fails with a
> message about omitted directories that are not copied... It is true that
> in the corresponding data_DATA=beat/ gfx/ wavs/ are
> directories, but I have to install those directories and I would like to
> do it in a smart way with as little of work as possible.
> Any suggestions?

The fact that you mention AM_CPPFLAGS makes this sound more like an
automake question than an autoconf one.  That said, you may want to look
into using dist-hook:

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at
Comment: Using GnuPG with Mozilla -


reply via email to

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