[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: regenerating a script specified in AC_CONFIG_FILES
From: |
Ralf Wildenhues |
Subject: |
Re: regenerating a script specified in AC_CONFIG_FILES |
Date: |
Tue, 13 Oct 2009 06:48:58 +0200 |
User-agent: |
Mutt/1.5.20 (2009-08-09) |
* 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:
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 LALVCSInfo.h.
To let rebuilding keep the right file mode, write this in configure.ac:
AC_CONFIG_FILES([lib/git_version],
[chmod +x lib/git_version])
replacing the two parts you currently have for this file.
Cheers,
Ralf