There is a number of places we need to change version numbers to make a release and it is a time consuming and error prone process. What I suggest is that we leave this to the configure script to decide either from an argument or from an environment variable. Note that we must use AM_INIT_AUTOMAKE for this, we cannot use AC_INIT (see https://www.gnu.org/software/automake/manual/html_node/Public-Macros.html).
We can use the AC_SUBST autoconf mechanism to replace instances, like:
The current places I know about are:
- masterfiles/update/def.cf (and some versioned ones, look out)
- Loads of mentions in the cf policies, not sure if we want to do anything about all those.