Re: regenerating a script specified in AC_CONFIG_FILES

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Oct 8, 2009 at 13:59, Ralf Wildenhues <Ralf.Wildenhues@xxxxxx> 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
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf


[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux