[585] | 1 | ## $Id: version.m4 937 2009-12-03 03:17:37Z peter $ |
---|
| 2 | # |
---|
[847] | 3 | # Copyright (C) 2008 Jari Häkkinen, Peter Johansson |
---|
[866] | 4 | # Copyright (C) 2009 Peter Johansson |
---|
[585] | 5 | # |
---|
| 6 | # This file is part of svndigest, http://trac.thep.lu.se/svndigest |
---|
| 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 |
---|
| 26 | m4_define([MAJOR_VERSION], [0]) |
---|
| 27 | # MINOR - Modify when new functionality is added |
---|
| 28 | m4_define([MINOR_VERSION], [7]) |
---|
| 29 | # PATCH - Modify for every released patch |
---|
[937] | 30 | m4_define([PATCH_VERSION], [2]) |
---|
[585] | 31 | |
---|
[613] | 32 | # SVNDIGEST_DEV_BUILD - When rolling a tarball we set this to `false'. In |
---|
[585] | 33 | # repository value remains `true'. |
---|
[937] | 34 | m4_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 |
---|
| 42 | m4_define([SVNDIGEST_VERSION],MAJOR_VERSION.MINOR_VERSION) |
---|
| 43 | # disregarding patch number if zero |
---|
| 44 | m4_define([SVNDIGEST_VERSION], m4_if(PATCH_VERSION,[0], SVNDIGEST_VERSION, |
---|
| 45 | SVNDIGEST_VERSION.PATCH_VERSION)) |
---|
[609] | 46 | m4_define([SVNDIGEST_VERSION], m4_if(SVNDIGEST_DEV_BUILD, |
---|
[674] | 47 | [true], SVNDIGEST_VERSION[pre], |
---|
[609] | 48 | SVNDIGEST_VERSION)) |
---|
[585] | 49 | |
---|