Commit 7c18ef8e authored by Michael Hanselmann's avatar Michael Hanselmann

- Generic automake cleanup

- Bump version number to 1.2b2
- Add version.py file generated from version.py.in by autoconf

Reviewed-by: schreiberal
parent 7d4ee540
# Configure script for Ganeti
AC_PREREQ(2.59)
AC_INIT(ganeti, 1.2b1, ganeti@googlegroups.com)
AC_INIT(ganeti, 1.2b2, ganeti@googlegroups.com)
AC_CONFIG_AUX_DIR(autotools)
AM_INIT_AUTOMAKE([foreign tar-ustar dist-bzip2])
......@@ -19,9 +19,11 @@ then
AC_MSG_WARN([docbook2man not found.])
fi
AC_SUBST(PACKAGE_VERSION)
AC_CONFIG_FILES([Makefile man/Makefile doc/Makefile
testing/Makefile tools/Makefile
lib/Makefile scripts/Makefile daemons/Makefile
doc/examples/Makefile])
doc/examples/Makefile lib/version.py])
AC_OUTPUT
MAINTAINERCLEANFILES = version.py
EXTRA_DIST = version.py.in
nodist_pkgpython_PYTHON = version.py
pkgpython_PYTHON = __init__.py backend.py cli.py cmdlib.py config.py \
objects.py errors.py logger.py ssh.py utils.py rpc.py \
bdev.py hypervisor.py opcodes.py mcpu.py constants.py \
......
......@@ -21,10 +21,12 @@
"""Module holding different constants."""
from ganeti import version
# various versions
CONFIG_VERSION = 3
PROTOCOL_VERSION = 2
RELEASE_VERSION = "1.2a1"
RELEASE_VERSION = version.RELEASE_VERSION
OS_API_VERSION = 4
EXPORT_VERSION = 0
......
#!/usr/bin/python
#
# Copyright (C) 2007 Google Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
"""Ganeti version
"""
RELEASE_VERSION = "@PACKAGE_VERSION@"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment