source: branches/0.9-stable/m4/version.m4 @ 1406

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

for future release

File size: 1.7 KB
RevLine 
[585]1## $Id: version.m4 1406 2011-10-22 16:51:48Z peter $
2#
[978]3# Copyright (C) 2008 Jari Häkkinen, Peter Johansson
[1371]4# Copyright (C) 2009, 2010, 2011 Peter Johansson
[585]5#
[1059]6# This file is part of svndigest, http://dev.thep.lu.se/svndigest
[585]7#
8# svndigest is free software; you can redistribute it and/or modify it
9# under the terms of the GNU General Public License as published by
[693]10# the Free Software Foundation; either version 3 of the License, or
[585]11# (at your option) any later version.
12#
13# svndigest is distributed in the hope that it will be useful, but
14# 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
[693]19# along with svndigest. If not, see <http://www.gnu.org/licenses/>.
[585]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
[1130]28m4_define([MINOR_VERSION], [9])
[585]29# PATCH - Modify for every released patch
[1406]30m4_define([PATCH_VERSION], [5])
[585]31
[613]32# SVNDIGEST_DEV_BUILD - When rolling a tarball we set this to `false'. In
[585]33# repository value remains `true'.
[1406]34m4_define([SVNDIGEST_DEV_BUILD], [true])
[585]35
36
37###
38###  DO NOT EDIT BELOW THIS LINE
39###
40
41# Setting SVNDIGEST_VERSION based upon settings above
42m4_define([SVNDIGEST_VERSION],MAJOR_VERSION.MINOR_VERSION)
43# disregarding patch number if zero
44m4_define([SVNDIGEST_VERSION], m4_if(PATCH_VERSION,[0], SVNDIGEST_VERSION,
45                                  SVNDIGEST_VERSION.PATCH_VERSION))
[609]46m4_define([SVNDIGEST_VERSION], m4_if(SVNDIGEST_DEV_BUILD,
[674]47                                    [true], SVNDIGEST_VERSION[pre],
[609]48                                    SVNDIGEST_VERSION))
[585]49
Note: See TracBrowser for help on using the repository browser.