source: branches/0.8-stable/m4/version.m4 @ 2791

Last change on this file since 2791 was 2791, checked in by Peter, 10 years ago

Preparing release 0.8.2

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.7 KB
Line 
1## $Id: version.m4 2791 2012-07-26 22:41:55Z peter $
2#
3# Copyright (C) 2008, 2009 Jari Häkkinen, Peter Johansson
4# Copyright (C) 2010, 2011, 2012 Peter Johansson
5#
6# This file is part of the yat library, http://dev.thep.lu.se/yat
7#
8# The yat library is free software; you can redistribute it
9# and/or modify it under the terms of the GNU General Public License as
10# published by the Free Software Foundation; either version 3 of the
11# License, or (at your option) any later version.
12#
13# The yat library is distributed in the hope that it will be useful,
14# but WITHOUT ANY WARRANTY; without even the implied warranty of
15# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16# General Public License for more details.
17#
18# You should have received a copy of the GNU General Public License
19# along with yat. If not, see <http://www.gnu.org/licenses/>.
20#
21
22#
23# Set version numbers, see http://apr.apache.org/versioning.html
24#
25# MAJOR - Modify when incompatible changes are made
26m4_define([MAJOR_VERSION], [0])
27# MINOR - Modify when new functionality is added
28m4_define([MINOR_VERSION], [8])
29# PATCH - Modify for every released patch
30m4_define([PATCH_VERSION], [2])
31
32# DEV_BUILD - When rolling a tarball we set this to `false'. In
33# repository value remains `true'.
34m4_define([DEV_BUILD], [false])
35
36# Library versioning (current:revision:age)
37#
38# How to update library version number
39#
40# current: Increment if the interface has additions, changes, removals.
41#
42# revision: Increment any time the source changes; set to 0 if you
43# incremented 'current'.
44#
45# age: Increment if any interfaces have been added; set to 0 if any
46# interfaces have been removed. removal has precedence over adding, so
47# set to 0 if both happened.
48#
49# See the libtool manual for further explanation of the numbers
50#
51# yat-0.3    undefined
52# yat-0.4    1:0:0
53# yat-0.4.1  1:0:0
54# yat-0.4.2  1:1:0
55# yat-0.4.3  1:2:0
56# yat-0.5    1:2:0*
57# yat-0.5.1  2:0:0
58# yat-0.5.2  2:1:0
59# yat-0.5.3  2:2:0
60# yat-0.5.4  2:3:0
61# yat-0.5.5  2:4:0
62# yat-0.5.6  2:5:0
63# yat-0.6.0  3:0:0
64# yat-0.6.1  3:1:0
65# yat-0.6.2  3:2:0
66# yat-0.6.3  3:3:0
67# yat-0.7.0  4:0:0
68# yat-0.7.1  4:1:0
69# yat-0.7.2  4:2:0
70# yat-0.7.3  4:3:0
71# yat-0.8.0  5:0:0
72# yat-0.8.1  5:1:0
73# yat-0.8.2  5:2:0
74#
75# *Accidently, the libtool number was not updated for yat 0.5
76#
77m4_define([YAT_LT_VERSION_INFO], [5:2:0])
78
79###
80###  DO NOT EDIT BELOW THIS LINE
81###
82
83# Setting YAT_VERSION__ based upon settings above
84m4_define([YAT_VERSION__],MAJOR_VERSION.MINOR_VERSION)
85# disregarding patch number if zero
86m4_define([YAT_VERSION__], m4_if(PATCH_VERSION,[0], YAT_VERSION__,
87                                 YAT_VERSION__.PATCH_VERSION))
88m4_define([YAT_VERSION__], m4_if(DEV_BUILD,[true], YAT_VERSION__[pre],
89                                 YAT_VERSION__))
Note: See TracBrowser for help on using the repository browser.