commit 59e6d5f15cfaedfd17ce1f9f7291090d37b8589d Author: Hubert Figuière Date: Thu Nov 3 00:20:36 2016 -0400 NEMIVER_VERSION was never defined properly * configure.ac: define the version with ac_defines. Properly define NEMIVER_VERSION. Use define for AC_INIT * README.release.txt: update release document to reflect this change. diff --git a/README.release.txt b/README.release.txt index a6b6300..ef8aa13 100644 --- a/README.release.txt +++ b/README.release.txt @@ -1,9 +1,8 @@ How to do a Nemiver release * Make sure configure.ac has the right version variables set - - These are MAJOR_VERSION, MINOR_VERSION, MICRO_VERSION and the version part of - the AC_INIT macro invocation. Normally these should have been - already set, but you never know. + - These are nmv_version_major, nmv_version_minor, nmv_version_micro m4_defines. + Normally these should have been already set, but you never know. - Commit this. * Update the NEWS file: diff --git a/configure.ac b/configure.ac index cb1314c..ddb1c38 100644 --- a/configure.ac +++ b/configure.ac @@ -2,12 +2,13 @@ dnl ************************************************************** dnl Process this file with autoconf to produce a configure script. dnl ************************************************************** -MAJOR_VERSION=0 -MINOR_VERSION=9 -MICRO_VERSION=6 +m4_define([nmv_version_major], [0]) +m4_define([nmv_version_minor], [9]) +m4_define([nmv_version_micro], [6]) +m4_define([nmv_version], [nmv_version_major.nmv_version_minor.nmv_version_micro]) AC_INIT([nemiver], - [0.9.6], + [nmv_version], [http://bugzilla.gnome.org/enter_bug.cgi?product=nemiver], [nemiver], [https://wiki.gnome.org/Apps/Nemiver]) @@ -28,7 +29,7 @@ dnl compilation output. AM_SILENT_RULES([yes]) -NEMIVER_VERSION="$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION" +NEMIVER_VERSION="nmv_version" AC_SUBST(NEMIVER_VERSION) dnl ************************************************************ @@ -547,7 +548,7 @@ AC_OUTPUT AC_MSG_NOTICE([ ================================================================= - Nemiver: $MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION + Nemiver: $NEMIVER_VERSION ================================================================= Here is the configuration of the package: