Re: regenerating a script specified in AC_CONFIG_FILES

2009-10-13 Thread Adam Mercer
On Mon, Oct 12, 2009 at 23:48, Ralf Wildenhues wrote: > Thanks.  The rebuild rule is generated alright, but nothing depends on > the output file.  So adding >  all-local: git_version > > to lib/Makefile.am would be one possibility.  In your case, you should > add git_version as prerequisite to LA

Re: regenerating a script specified in AC_CONFIG_FILES

2009-10-12 Thread Ralf Wildenhues
* Adam Mercer wrote on Mon, Oct 12, 2009 at 06:21:11PM CEST: > On Thu, Oct 8, 2009 at 16:03, Ralf Wildenhues wrote: > > > Can you post configure.ac and the Makefile.am, or a small example > > package that reproduces the issue? > > I've attached a simple example package that reproduces the problem

Re: regenerating a script specified in AC_CONFIG_FILES

2009-10-12 Thread Adam Mercer
On Thu, Oct 8, 2009 at 16:03, Ralf Wildenhues wrote: > Can you post configure.ac and the Makefile.am, or a small example > package that reproduces the issue? I've attached a simple example package that reproduces the problem: [...@mimir example]$ autoreconf [...@mimir example]$ ./configure chec

Re: regenerating a script specified in AC_CONFIG_FILES

2009-10-08 Thread Ralf Wildenhues
* Adam Mercer wrote on Thu, Oct 08, 2009 at 10:02:32PM CEST: > On Thu, Oct 8, 2009 at 13:59, Ralf Wildenhues wrote: > > > Are you using Automake?  If yes, and if the arguments to AC_CONFIG_FILES > > are shell literals, then automake should produce a rule to regenerate > > the file for you. > > Ye

Re: regenerating a script specified in AC_CONFIG_FILES

2009-10-08 Thread Adam Mercer
On Thu, Oct 8, 2009 at 13:59, Ralf Wildenhues wrote: > Are you using Automake?  If yes, and if the arguments to AC_CONFIG_FILES > are shell literals, then automake should produce a rule to regenerate > the file for you. Yes I'm using automake, I believe the arguments to AC_CONFIG_FILES are shell

Re: regenerating a script specified in AC_CONFIG_FILES

2009-10-08 Thread Ralf Wildenhues
* Adam Mercer wrote on Thu, Oct 08, 2009 at 08:12:49PM CEST: > As part of the configure process I generate a script, git_version, > from a file git_version.in specified in AC_CONFIG_FILES() so that an > appropriate python interpreter is used. However if I modify the > git_version.in file the git_ve

regenerating a script specified in AC_CONFIG_FILES

2009-10-08 Thread Adam Mercer
Hi As part of the configure process I generate a script, git_version, from a file git_version.in specified in AC_CONFIG_FILES() so that an appropriate python interpreter is used. However if I modify the git_version.in file the git_version script is not regenerated when running make. Is there anywa