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