Re: including data files

Date view Thread view Subject view Author view

From: Anthony Tekatch (tekatch@idirect.com)
Date: Thu Jan 27 2000 - 22:23:52 EST


How should I use the "datadir" or "somewhere" variable in my C source code?
Should I pass this variable to the compiler so that my source code can
reference it?

> Have you looked at the automake manual? Type "info automake" in a shell
> window or "info:automake" into the location box of the GNOME help browser.
>
> For straight data files, you would use something like this in your
> Makefile.am:
> somewheredir = $(datadir)/somewhere
> somewhere_DATA = file1 file2 ...
> EXTRA_DIST = file1 file2 ...
>
> If the files are not straight data, you would use something a bit
> different. You should read the automake manual or look for an automake
> tutorial.
>
> James.
>
> --
> Email: james@daa.com.au
> WWW: http://www.daa.com.au/~james/
>
>
> On Wed, 26 Jan 2000, Anthony Tekatch wrote:
>
> >
> > How can I tell MAKE to put data files onto the users system when they type make
> > install. My project must be able to have access to many data files (templates
> > for its work). I understand how to include them in the distribution but can't
> > figure out how to get them copied to some directory that each user has access
> > to after my program is installed.

Thanks in advance

-- 
Anthony

+---------------------------------------------------------------------+ To unsubscribe from this list, send a message to majordomo@ncis.pn.org with the line "unsubscribe glade-devel" in the body of the message.


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Tue Aug 01 2000 - 19:26:47 EDT