[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?
Thu, 1 May 2003 10:32:16 -0600
> > If you don't want them installed, use
> > noinst_DATA, or just add them to EXTRA_DIST.
> > You must add them to EXTRA_DIST, or else they won't be added to the
> > distribution tarball with "make dist".
> If I use _DATA without noinst like so....
> e.g. htmldata_DATA
> then will *that* go in distribution tarball???
> If removing noinst implies it will go into tarball then
> EXTRA_DIST seems redundant doesn't it??
No. Here is the point you are missing.
EXTRA_DIST does not install anything but just carries it along in the
distribution. It is up to you what to do with it.
name_DATA installs files but does not put it in the distribution. You
are probably installing something you are creating and therefore it
would not be in the original source.
If you are installing something that is in the original source that
you are not creating then you need to make the file appear in both
EXTRA_DIST and name_DATA. At least in EXTRA_DIST. You might use
other methods to install it.
- Re: What *target* use for non-source files want to add to package like DATA?,
Bob Proulx <=