[PATCH 1/2] build: Define major, minor and micro version vars
- From: Simón Pena <spenap gmail com>
- To: grilo-list gnome org
- Subject: [PATCH 1/2] build: Define major, minor and micro version vars
- Date: Wed, 22 Sep 2010 16:46:00 +0200
Variables storing the major, minor and micro version have been created.
grl_version and GRL_MAJORMINOR are generated now using those vars.
---
configure.ac | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index 2495fd7..bcc0eb5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6,8 +6,11 @@
# Copyright (C) 2010 Igalia S.L.. All rights reserved.
m4_define([prj_name], [grilo])
-m4_define([prj_version], [0.1.6])
m4_define([prj_gir_name], [Grilo])
+m4_define([grl_major_version], [0])
+m4_define([grl_minor_version], [1])
+m4_define([grl_micro_version], [6])
+m4_define([prj_version], grl_major_version.grl_minor_version.grl_micro_version)
AC_INIT([prj_name], [prj_version])
@@ -45,7 +48,7 @@ GNOME_MAINTAINER_MODE_DEFINES
# ABI version
-GRL_MAJORMINOR=0.1
+GRL_MAJORMINOR=grl_major_version.grl_minor_version
AC_SUBST(GRL_MAJORMINOR)
AC_DEFINE_UNQUOTED(GRL_MAJORMINOR, "$GRL_MAJORMINOR", [library major.minor version])
--
1.7.0.4
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]