[nemiver] NEMIVER_VERSION was never defined properly
- From: Hubert Figuière <hub src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nemiver] NEMIVER_VERSION was never defined properly
- Date: Thu, 3 Nov 2016 12:11:05 +0000 (UTC)
commit b91ff4522daaaf933c240379e3f1b0b30c165ee3
Author: Hubert Figuière <hub figuiere net>
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.
README.release.txt | 5 ++---
configure.ac | 13 +++++++------
2 files changed, 9 insertions(+), 9 deletions(-)
---
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:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]