Re: How to dinamically set VERSION for AC_INIT

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

 



Hello,

* Eric Blake wrote on Fri, Dec 14, 2007 at 04:04:20PM CET:
> 
> AC_INIT([GNU Autoconf],
>         m4_esyscmd([build-aux/git-version-gen . .version]),
> 	[bug-autoconf@xxxxxxx])
[...]
> One thing to be aware of is build
> dependencies [...]
>  Therefore, autoconf also has a GNUMakefile that guarantees that when
> 'make dist' is run, that the version is updated correctly, while avoiding
> recompilation due to version changes during normal development.
> 
> And yes, we could probably document these tricks better in the manual.

Maybe, but the canonical (Automake-centric) answer to this is not a
GNUmakefile but CONFIGURE_DEPENDENCIES, see
<http://sources.redhat.com/automake/automake.html#Rebuilding>.

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