ENH: Updated for CMake 1.6 release. Version number is now in a single file that is sourced by all others.

This commit is contained in:
Brad King 2003-01-06 11:23:42 -05:00
parent 09778d1776
commit 77ac6a02c0
9 changed files with 23 additions and 19 deletions

View File

@ -1,5 +1,3 @@
RELEASE_TAG="Release-1-4"
VERSION="1.4.7"
PLATFORM="darwin"
CC="cc"
CXX="c++"

View File

@ -1,5 +1,3 @@
RELEASE_TAG="Release-1-4"
VERSION="1.4.7"
PLATFORM="hpux-static"
CC="cc"
CXX="aCC"

View File

@ -1,5 +1,3 @@
RELEASE_TAG="Release-1-4"
VERSION="1.4.7"
PLATFORM="irix65"
CC="cc"
CXX="CC"

View File

@ -1,5 +1,3 @@
RELEASE_TAG="Release-1-4"
VERSION="1.4.7"
PLATFORM="x86-linux-static"
CREATE_SOURCE_TARBALL="yes"
CURSES_LIBRARY="/usr/lib/libcurses.a"

View File

@ -1,5 +1,3 @@
RELEASE_TAG="Release-1-4"
VERSION="1.4.7"
PLATFORM="alpha-osf"
CC="cc"
CXX="cxx"

View File

@ -1,5 +1,3 @@
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"

View File

@ -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}"

View File

@ -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"

View File

@ -0,0 +1,7 @@
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"