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 20:57:23 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

* 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




reply via email to

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