Re: regenerating a script specified in AC_CONFIG_FILES

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

 



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


_______________________________________________
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