Re: regenerating a script specified in AC_CONFIG_FILES

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

 



* 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


_______________________________________________
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