Commit 77ac6a02 authored by Brad King's avatar Brad King
Browse files

ENH: Updated for CMake 1.6 release. Version number is now in a single file...

ENH: Updated for CMake 1.6 release.  Version number is now in a single file that is sourced by all others.
parent 09778d17
RELEASE_TAG="Release-1-4"
VERSION="1.4.7"
PLATFORM="darwin"
CC="cc"
CXX="c++"
......
RELEASE_TAG="Release-1-4"
VERSION="1.4.7"
PLATFORM="hpux-static"
CC="cc"
CXX="aCC"
......
RELEASE_TAG="Release-1-4"
VERSION="1.4.7"
PLATFORM="irix65"
CC="cc"
CXX="CC"
......
RELEASE_TAG="Release-1-4"
VERSION="1.4.7"
PLATFORM="x86-linux-static"
CREATE_SOURCE_TARBALL="yes"
CURSES_LIBRARY="/usr/lib/libcurses.a"
......
RELEASE_TAG="Release-1-4"
VERSION="1.4.7"
PLATFORM="alpha-osf"
CC="cc"
CXX="cxx"
......
RELEASE_TAG="Release-1-4"
VERSION="1.4.7"
PLATFORM="sparc-sunos57-static"
CURSES_LIBRARY="/usr/lib/libcurses.a"
FORM_LIBRARY="/usr/lib/libform.a"
......
......@@ -4,12 +4,18 @@
# directory from a separate CMake checkout.
#
CVS_TAG="-r Release-1-4"
# Find our own script's location.
SELFPATH=`cd \`echo $0 | sed -n '/\//{s/\/[^\/]*$//;p;}'\`;pwd`
# Read version numbers.
. ${SELFPATH}/cmake_release_version.sh
CVS_TAG="-r ${CURRENT_TAG}"
PKG=cmake
VER=1.4.7
REL=1
PREVER=1.4.6
PREREL=1
VER="${CURRENT_VERSION}"
REL="${CURRENT_RELEASE}"
PREVER="${PREVIOUS_VERSION}"
PREREL="${PREVIOUS_RELEASE}"
CVSROOT=":pserver:anonymous@www.cmake.org:/cvsroot/CMake"
FULLPKG="${PKG}-${VER}-${REL}"
......
......@@ -13,8 +13,6 @@ if test "x$1" = "x"; then
echo " $0 <configuration-file>"
echo ""
echo "Sample configuration file:"
echo " RELEASE_TAG=\"Release-1-4\""
echo " VERSION=\"1.4\""
echo " PLATFORM=\"x86-linux\""
exit 1
fi
......@@ -65,6 +63,9 @@ BUILD_TESTING:BOOL=OFF
EOF
}
SELFPATH=`cd \`echo $0 | sed -n '/\//{s/\/[^\/]*$//;p;}'\`;pwd`
. ${SELFPATH}/cmake_release_version.sh
#-----------------------------------------------------------------------------
# Configuration options.
echo "Reading configuration from ${CONFIG_FILE}..."
......@@ -77,6 +78,8 @@ fi
export CC CXX CFLAGS CXXFLAGS
# Select directories.
RELEASE_TAG="${CURRENT_TAG}"
VERSION="${CURRENT_VERSION}"
INSTALL_DIR="${RELEASE_ROOT}/Install"
TARBALL_DIR="${RELEASE_ROOT}/Tarballs"
SOURCE_DIR="${RELEASE_ROOT}/CMake-$VERSION"
......
CURRENT_TAG="Release-1-6"
CURRENT_VERSION="1.6.0"
CURRENT_RELEASE="1"
# Cygwin packages need previous version/release.
PREVIOUS_VERSION="1.4.7"
PREVIOUS_RELEASE="1"
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