[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What *target* use for non-source files want to add to package like D
Re: What *target* use for non-source files want to add to package like DATA?
Tue, 29 Apr 2003 11:45:07 -0700 (MST)
Thanks so much!! This is great help. I /really/ want
to learn this and do it right!
Can I ask you follow up questions to your comments?
What is $pkgdatadir?? Is that predefined by Autotools?
Is there some implicit understanding that in order
xyz_DATA = ...
you must first define
xyzdir = ... ???
Will "make install" put all that xyz_DATA stuff in
Your html and xml examples were essentially the same.
Were you suggesting html would *not* be installed but
*xml* example files would be?? What makes the difference?
I don't see it.
-------- Original Message --------
Subject: Re: What *target* use for non-source files want to add to
package like DATA?
From: Roger Leigh <address@hidden>
Date: Tue, April 29, 2003 8:20 am
> I have been reading Automake docs and found
> target for extra non-compiled junk like this one:
That's not for "non-compiled junk", it's for conditionally compiled
sources that may or may not need to be built.
> I'm not sure if this is the one to use for stuff like
> DATA that isn't compiled but you still want to
> drag it around with your program.
> Which is best for non-source code stuff like data files?
EXTRA_DIST, to distribute, but not install anywhere. If it's
e.g. HTML docs, I do this:
htmldatadir = $(pkgdatadir)/doc/html
htmldata_DATA = index.html ...
EXTRA_DIST = $(htmldata_DATA) ...
For installed program data files, I'd do something very similar:
xmldatadir = $(pkgdatadir)/xml
xmldata_DATA = foo.xml bar.xml ...
EXTRA_DIST = $(xmldata_DATA)
Printing on GNU/Linux?
http://gimp-print.sourceforge.net/ GPG Public Key:
0x25BFB848 available on public keyservers