[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: regenerating a script specified in AC_CONFIG_FILES
From: |
Adam Mercer |
Subject: |
Re: regenerating a script specified in AC_CONFIG_FILES |
Date: |
Thu, 8 Oct 2009 15:02:32 -0500 |
On Thu, Oct 8, 2009 at 13:59, Ralf Wildenhues <address@hidden> 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