automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: about what goes into a distribution file


From: Ralf Wildenhues
Subject: Re: about what goes into a distribution file
Date: Sun, 20 Feb 2011 08:49:05 +0100
User-agent: Mutt/1.5.20 (2010-08-04)

Hi Vincent,

* Vincent Torri wrote on Fri, Feb 18, 2011 at 08:33:01AM CET:
> from the automake documentation, all the files read by AC_CONFIG_FILES are
> added in the distribution. But why aren't the generated files not in the
> tarball (the .pc.in are in but not the .pc for example) ?

Just to answer the question for whoever else stumbles over this:
because the point of generating them is that they may look differently
on different systems.  Thus it makes no sense to distribute them.

And actually, the rules are a bit more complicated: the .in files are
distributed only if they are mentioned literally in configure.ac (i.e.,
not as shell variable), and when they are not the output file of another
AC_CONFIG_FILES command (e.g., foo.in.in -> foo.in -> foo).  The gory
details are documented here:
http://www.gnu.org/software/automake/manual/html_node/Requirements.html

Cheers,
Ralf



reply via email to

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