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: [EMAIL PROTECTED]
> 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 [EMAIL PROTECTED]
with the line "unsubscribe glade-devel" in the body of the message.