source: trunk/m4/version.m4 @ 1874

Last change on this file since 1874 was 1874, checked in by Peter, 14 years ago

merge patch release 0.5.2 into trunk. Delta 0.5.2 - 0.5.1

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.4 KB
Line 
1## $Id: version.m4 1874 2009-03-17 22:09:01Z peter $
2#
3# Copyright (C) 2008 Jari Häkkinen, Peter Johansson
4# Copyright (C) 2009 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], [6])
29# PATCH - Modify for every released patch
30m4_define([PATCH_VERSION], [0])
31
32# DEV_BUILD - When rolling a tarball we set this to `false'. In
33# repository value remains `true'.
34m4_define([DEV_BUILD], [true])
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#
60m4_define([YAT_LT_VERSION_INFO], [3:0:0])
61
62# *Accidently, the libtool number was not updated for yat 0.5
63
64###
65###  DO NOT EDIT BELOW THIS LINE
66###
67
68# Setting YAT_VERSION based upon settings above
69m4_define([YAT_VERSION],MAJOR_VERSION.MINOR_VERSION)
70# disregarding patch number if zero
71m4_define([YAT_VERSION], m4_if(PATCH_VERSION,[0], YAT_VERSION,
72                                  YAT_VERSION.PATCH_VERSION))
73m4_define([YAT_VERSION], m4_if(DEV_BUILD,[true], YAT_VERSION[pre],
74                                  YAT_VERSION))
Note: See TracBrowser for help on using the repository browser.