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: Brad Larsen
Subject: Re: How to install only derived file, not its .in?
Date: Fri, 16 Nov 2007 16:02:30 -0500
User-agent: Opera Mail/9.24 (Linux)

On Fri, 09 Nov 2007 14:57:23 -0500, Ralf Wildenhues <address@hidden> wrote:

Hi Ralf,

* Brad Larsen wrote on Fri, Nov 09, 2007 at 06:11:11PM CET:

I guess I wasn't clear enough.  In section 4.7.2 of the autoconf manual,
it says:
[...]
That's why I'm having the makefile (which autoconf generates) do the
substitution rather than calling AC_OUTPUT_FILES([runme]) or
AC_CONFIG_FILES([runme]).  (I tried the latter strategies without
success---the substitutions would end up with '${prefix}' or
'${exec_prefix}' in them, which would probably be undefined when runme is
actually executed.  And since I am using a makefile to generate the
derived script 'runme', 'make distclean' doesn't remove it unless I add it
to DISTCLEANFILES---otherwise 'make distcheck' fails.

OK.  Then leave in the DISTCLEANFILES, and mention runme.in only in
EXTRA_DIST, or only in noinst_DATA if you like (dunno if the latter
works).

Cheers,
Ralf

Thanks!  I used the first method you mentioned and it works.

Cheers,
Brad Larsen




reply via email to

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