source: trunk/m4/version.m4 @ 847

Last change on this file since 847 was 847, checked in by Peter Johansson, 13 years ago

updating copyrights

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
RevLine 
[585]1## $Id: version.m4 847 2009-11-17 01:38:52Z peter $
2#
[847]3# Copyright (C) 2008 Jari Häkkinen, Peter Johansson
[585]4#
5# This file is part of svndigest, http://trac.thep.lu.se/svndigest
6#
7# svndigest is free software; you can redistribute it and/or modify it
8# under the terms of the GNU General Public License as published by
[693]9# the Free Software Foundation; either version 3 of the License, or
[585]10# (at your option) any later version.
11#
12# svndigest is distributed in the hope that it will be useful, but
13# 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
[693]18# along with svndigest. If not, see <http://www.gnu.org/licenses/>.
[585]19#
20
21#
22# Set version numbers, see http://apr.apache.org/versioning.html 
23#
24# MAJOR - Modify when incompatible changes are made
25m4_define([MAJOR_VERSION], [0])
26# MINOR - Modify when new functionality is added
27m4_define([MINOR_VERSION], [7])
28# PATCH - Modify for every released patch
29m4_define([PATCH_VERSION], [0])
30
[613]31# SVNDIGEST_DEV_BUILD - When rolling a tarball we set this to `false'. In
[585]32# repository value remains `true'.
33m4_define([SVNDIGEST_DEV_BUILD], [true])
34
35
36###
37###  DO NOT EDIT BELOW THIS LINE
38###
39
40# Setting SVNDIGEST_VERSION based upon settings above
41m4_define([SVNDIGEST_VERSION],MAJOR_VERSION.MINOR_VERSION)
42# disregarding patch number if zero
43m4_define([SVNDIGEST_VERSION], m4_if(PATCH_VERSION,[0], SVNDIGEST_VERSION,
44                                  SVNDIGEST_VERSION.PATCH_VERSION))
[609]45m4_define([SVNDIGEST_VERSION], m4_if(SVNDIGEST_DEV_BUILD,
[674]46                                    [true], SVNDIGEST_VERSION[pre],
[609]47                                    SVNDIGEST_VERSION))
[585]48
Note: See TracBrowser for help on using the repository browser.