source: trunk/build_support/version.m4 @ 1277

Last change on this file since 1277 was 1277, checked in by Jari Häkkinen, 14 years ago

Changes for future release 0.5

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1## $Id: version.m4 1277 2008-04-11 08:11:58Z jari $
2#
3# Copyright (C) 2008 Peter Johansson
4#
5# This file is part of the yat library, http://trac.thep.lu.se/yat
6#
7# The yat library is free software; you can redistribute it
8# and/or modify it under the terms of the GNU General Public License as
9# published by the Free Software Foundation; either version 2 of the
10# License, or (at your option) any later version.
11#
12# The yat library is distributed in the hope that it will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15# General Public License for more details.
16#
17# You should have received a copy of the GNU General Public License
18# along with this program; if not, write to the Free Software
19# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
20# 02111-1307, USA.
21#
22
23#
24# Set version numbers, see http://apr.apache.org/versioning.html 
25#
26# MAJOR - Modify when incompatible changes are made
27m4_define([MAJOR_VERSION], [0])
28# MINOR - Modify when new functionality is added
29m4_define([MINOR_VERSION], [5])
30# PATCH - Modify for every released patch
31m4_define([PATCH_VERSION], [0])
32
33# DEV_BUILD - When rolling a tarball we set this to `false'. In
34# repository value remains `true'.
35m4_define([DEV_BUILD], [true])
36
37# Library versioning (current:revision:age)
38# See the libtool manual for an explanation of the numbers
39#
40# yat-0.3    undefined
41# yat-0.4    1:0:0
42m4_define([LT_VERSION], [1:0:0])
43
44
45###
46###  DO NOT EDIT BELOW THIS LINE
47###
48
49# Setting YAT_VERSION based upon settings above
50m4_define([YAT_VERSION],MAJOR_VERSION.MINOR_VERSION)
51# disregarding patch number if zero
52m4_define([YAT_VERSION], m4_if(PATCH_VERSION,[0], YAT_VERSION,
53                                  YAT_VERSION.PATCH_VERSION))
54m4_define([YAT_VERSION], m4_if(DEV_BUILD,[true], YAT_VERSION[pre],
55                                  YAT_VERSION))
56
Note: See TracBrowser for help on using the repository browser.