automake
[Top][All Lists]
Advanced

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

Re: How to install only derived file, not its .in?


From: Ralf Wildenhues
Subject: Re: How to install only derived file, not its .in?
Date: Fri, 9 Nov 2007 17:50:56 +0100
User-agent: Mutt/1.5.17 (2007-11-04)

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

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