automake
[Top][All Lists]
Advanced

[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:1.8.1.16) Gecko/20080708 Thunderbird/2.0.0.16 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
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 Makefile.am 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:
http://www.gnu.org/software/automake/manual/html_node/Dist.html#Dist

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

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAki37aoACgkQ84KuGfSFAYBeVACg2AkFEo4yllyBKOD/X1guHzMG
J7oAn2klaTWiRb/VGP8AZ5iO7PcGlr7M
=bGlC
-----END PGP SIGNATURE-----




reply via email to

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