autoconf
[Top][All Lists]
Advanced

[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: Tue, 13 Oct 2009 10:30:26 -0500

On Mon, Oct 12, 2009 at 23:48, Ralf Wildenhues <address@hidden> 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 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.

Thanks Ralf, thats working great now!

Cheers

Adam




reply via email to

[Prev in Thread] Current Thread [Next in Thread]