Re: how to install data directories

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

 



-----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             ebb9@xxxxxxx
-----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-----


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux