automake
[Top][All Lists]
Advanced

[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


From: Bob Proulx
Subject: Re: What *target* use for non-source files want to add to package like DATA?
Date: Thu, 1 May 2003 10:32:16 -0600
User-agent: Mutt/1.3.28i

address@hidden wrote:
> >   If you don't want them installed, use
> >   noinst_DATA, or just add them to EXTRA_DIST.

Yes.

> >   You must add them to EXTRA_DIST, or else they won't be added to the
> >   distribution tarball with "make dist".

Yes.

> If I use _DATA without noinst like so....
> e.g. htmldata_DATA
> then will *that* go in distribution tarball???

No.

> 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.

HTH,
Bob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]