release: distinguish major and minor releases
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 8 Dec 2012 16:26:58 +0000 (17:26 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 8 Dec 2012 20:43:42 +0000 (21:43 +0100)
commit24508503b85e22939ed247990bf1421e86cccd32
treeac6a4e3be67c2b7ffba3f1127dd0b6dda9193488
parent54ec1e6b080c00d3b3f0b53fc15389a58abcb53a
release: distinguish major and minor releases

This is mostly a preparatory change, in view of future
improvements in our release process.

* Makefile.am (determine_release_type): Also distinguish
between major and minor releases, with the help of ...
(stable_major_version_rx, stable_minor_version_rx): ... these
new macros.
(stable_version_rx): Remove, it's obsolete now.
(version_rx): Rename ...
(base_version_rx): ... like this, and adjust.
(print-release-type): New target; helps in debugging the code
that determines the release type.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Makefile.am