source: trunk/m4/version.m4 @ 798

Last change on this file since 798 was 775, checked in by Peter Johansson, 15 years ago

moving m4 files to directory m4/. NOTE this change will break Makefiles, so you need to issue 'autoreconf -m'. Also adding a longlong.m4 that seems to have been missing before(?).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1## $Id: version.m4 775 2009-02-09 02:08:55Z peter $
2#
3# Copyright (C) 2008 Jari Häkkinen, Peter Johansson
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
9# the Free Software Foundation; either version 3 of the License, or
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
18# along with svndigest. If not, see <http://www.gnu.org/licenses/>.
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
31# SVNDIGEST_DEV_BUILD - When rolling a tarball we set this to `false'. In
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))
45m4_define([SVNDIGEST_VERSION], m4_if(SVNDIGEST_DEV_BUILD,
46                                    [true], SVNDIGEST_VERSION[pre],
47                                    SVNDIGEST_VERSION))
48
Note: See TracBrowser for help on using the repository browser.