On Thu, Oct 8, 2009 at 13:59, Ralf Wildenhues <[email protected]> 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 literals:

AC_CONFIG_FILES([ \
<snip>
                 lib/git_version
                 lib/Makefile \
<snip>
])

but the script isn't being updated.

> Otherwise, you can also just add one to your makefile, a la
>
>  git_version: $(top_builddir)/config.status git_version.in
>        cd $(top_builddir) && ./config.status $(top_build_prefix)$@
>
> (untested, you could look into the manual if you need more information).

Cheers

Adam


_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to