Hello Brad,

* Brad Larsen wrote on Fri, Nov 09, 2007 at 05:44:37PM CET:
> In the distribution, I want to include only the .in files and not the 
> derived files.  When installing, I want to install only the derived files 
> and not the .in files.  So far my Makefile.am looks like this:
>
> [snip]
> # runme doesn't get included in the distribution.
> runtemplate_DATA = runme
> DISTCLEANFILES = runme

You don't need the DISTCLEANFILES line.

> # all the .in files are included in the distribution.  But they are also 
> installed (because of _DATA, I presume).
> dist_runtemplate_DATA = \
>       [snip]
>       runme.in \

Just remove runme.in from this list.  It will be distributed because you
said
  AC_CONFIG_FILES([runme])

in configure.ac.  The manual explains both the distribution and the
cleaning aspect in this chapter:
<http://sources.redhat.com/automake/automake.html#Requirements>

Cheers,
Ralf


Reply via email to