summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities')
-rwxr-xr-xUtilities/cmake-cygwin-package.sh155
-rw-r--r--Utilities/cmake_release_config_aix15
-rw-r--r--Utilities/cmake_release_config_darwin12
-rw-r--r--Utilities/cmake_release_config_hpux20
-rw-r--r--Utilities/cmake_release_config_irix3
-rw-r--r--Utilities/cmake_release_config_linux16
-rw-r--r--Utilities/cmake_release_config_osf18
-rw-r--r--Utilities/cmake_release_config_sun22
-rwxr-xr-xUtilities/cmake_release_cygwin.sh114
-rwxr-xr-xUtilities/cmake_release_unix_build.sh47
-rwxr-xr-xUtilities/cmake_release_unix_config.sh92
-rwxr-xr-xUtilities/cmake_release_unix_package.sh112
-rwxr-xr-xUtilities/cmake_release_version.sh7
13 files changed, 0 insertions, 633 deletions
diff --git a/Utilities/cmake-cygwin-package.sh b/Utilities/cmake-cygwin-package.sh
deleted file mode 100755
index 23ff392..0000000
--- a/Utilities/cmake-cygwin-package.sh
+++ /dev/null
@@ -1,155 +0,0 @@
-#!/bin/sh
-
-TOP_DIR=`cd \`echo "$0" | sed -n '/\//{s/\/[^\/]*$//;p;}'\`;pwd`
-SELF_NAME=`basename "$0" .sh`
-PKG=`echo ${SELF_NAME} | sed -e 's/\-[^\-]*\-[^\-]*$//'`
-VER=`echo ${SELF_NAME} | sed -e 's/^[^\-]*\-//' -e 's/\-[^\-]*$//'`
-REL=`echo ${SELF_NAME} | sed -e 's/^[^\-]*\-[^\-]*\-//'`
-FULLPKG=${PKG}-${VER}-${REL}
-
-SOURCE_DIR="${TOP_DIR}/${PKG}-${VER}"
-BINARY_DIR=${SOURCE_DIR}/.build
-INSTALL_DIR=${SOURCE_DIR}/.inst
-SPKG_DIR=${SOURCE_DIR}/.sinst
-SOURCE_PACKAGE="${TOP_DIR}/${FULLPKG}-src.tar.bz2"
-SOURCE_TARBALL="${TOP_DIR}/${PKG}-${VER}.tar.bz2"
-SOURCE_PATCH="${TOP_DIR}/${FULLPKG}.patch"
-PREFIX="/usr"
-
-BINARY_PACKAGE="${TOP_DIR}/${FULLPKG}.tar.bz2"
-
-mkdirs()
-{
- (
- mkdir -p "${BINARY_DIR}" "${INSTALL_DIR}" "${SPKG_DIR}"
- )
-}
-
-prep()
-{
- (
- cd ${TOP_DIR} &&
- tar xvjf "${SOURCE_TARBALL}" &&
- patch -p0 < "${SOURCE_PATCH}" &&
- mkdirs
- )
-}
-
-conf()
-{
- (
- cd ${BINARY_DIR} &&
- ${SOURCE_DIR}/configure --prefix=${PREFIX}
- )
-}
-
-build()
-{
- (
- cd ${BINARY_DIR} &&
- make
- )
-}
-
-install()
-{
- (
- cd ${BINARY_DIR} &&
- make install DESTDIR="${INSTALL_DIR}" &&
- mkdir -p ${INSTALL_DIR}${PREFIX}/doc/Cygwin &&
- mkdir -p ${INSTALL_DIR}${PREFIX}/doc/${PKG}-${VER} &&
- cp ${SOURCE_DIR}/CMake.pdf ${INSTALL_DIR}${PREFIX}/doc/${PKG}-${VER} &&
- cp ${SOURCE_DIR}/CMake.rtf ${INSTALL_DIR}${PREFIX}/doc/${PKG}-${VER} &&
- cp ${SOURCE_DIR}/Copyright.txt ${INSTALL_DIR}${PREFIX}/doc/${PKG}-${VER} &&
- cp ${SOURCE_DIR}/CYGWIN-PATCHES/cmake.README \
- ${INSTALL_DIR}${PREFIX}/doc/Cygwin/${FULLPKG}.README &&
- touch ${INSTALL_DIR}${PREFIX}/doc/${PKG}-${VER}/MANIFEST &&
- cd ${INSTALL_DIR} &&
- FILES=`/usr/bin/find .${PREFIX} -type f |sed 's/^\.\//\//'` &&
-(
-cat >> ${INSTALL_DIR}${PREFIX}/doc/${PKG}-${VER}/MANIFEST <<EOF
-${FILES}
-EOF
-)
- )
-}
-
-strip()
-{
- (
- cd ${INSTALL_DIR} &&
- /usr/bin/find . -name "*.dll" | xargs strip >/dev/null 2>&1
- /usr/bin/find . -name "*.exe" | xargs strip >/dev/null 2>&1
- true
- )
-}
-
-clean()
-{
- (
- cd ${BINARY_DIR} &&
- make clean
- )
-}
-
-pkg()
-{
- (
- cd ${INSTALL_DIR} &&
- tar cvjf "${BINARY_PACKAGE}" *
- )
-}
-
-mkpatch()
-{
- (
- cd ${SOURCE_DIR} &&
- tar xvjf "${SOURCE_TARBALL}" &&
- mv ${PKG}-${VER} ../${PKG}-${VER}-orig &&
- cd ${TOP_DIR} &&
- diff -urN -x '.build' -x '.inst' -x '.sinst' \
- "${PKG}-${VER}-orig" "${PKG}-${VER}" > "${SPKG_DIR}/${FULLPKG}.patch" ;
- rm -rf "${TOP_DIR}/${PKG}-${VER}-orig"
- )
-}
-
-spkg()
-{
- (
- mkpatch &&
- cp ${SOURCE_TARBALL} ${SPKG_DIR} &&
- cp "$0" ${SPKG_DIR} &&
- cd ${SPKG_DIR} &&
- tar cvjf ${SOURCE_PACKAGE} *
- )
-}
-
-finish()
-{
- (
- rm -rf "${SOURCE_DIR}"
- )
-}
-
-case $1 in
- prep) prep ; STATUS=$? ;;
- mkdirs) mkdirs ; STATUS=$? ;;
- conf) conf ; STATUS=$? ;;
- build) build ; STATUS=$? ;;
- check) check ; STATUS=$? ;;
- clean) clean ; STATUS=$? ;;
- install) install ; STATUS=$? ;;
- strip) strip ; STATUS=$? ;;
- package) pkg ; STATUS=$? ;;
- pkg) pkg ; STATUS=$? ;;
- mkpatch) mkpatch ; STATUS=$? ;;
- src-package) spkg ; STATUS=$? ;;
- spkg) spkg ; STATUS=$? ;;
- finish) finish ; STATUS=$? ;;
- all) (
- prep && conf && build && install && strip && pkg && spkg && finish ;
- STATUS=$?
- ) ;;
- *) echo "Error: bad arguments" ; exit 1 ;;
-esac
-exit ${STATUS}
diff --git a/Utilities/cmake_release_config_aix b/Utilities/cmake_release_config_aix
deleted file mode 100644
index f6e5fb1..0000000
--- a/Utilities/cmake_release_config_aix
+++ /dev/null
@@ -1,15 +0,0 @@
-PLATFORM="aix15"
-CC="xlc"
-CXX="xlC"
-
-# Write entries into the cache file before building cmake.
-WriteCMakeCache()
-{
-${CAT} > CMakeCache.txt <<EOF
-BUILD_TESTING:BOOL=OFF
-CMAKE_CXX_SHLIB_LINK_FLAGS:STRING=-bstatic
-CMAKE_CXX_SHLIB_BUILD_FLAGS:STRING=
-CMAKE_CXX_SHLIB_RUNTIME_FLAG:STRING=
-EOF
-}
-
diff --git a/Utilities/cmake_release_config_darwin b/Utilities/cmake_release_config_darwin
deleted file mode 100644
index 473dfd1..0000000
--- a/Utilities/cmake_release_config_darwin
+++ /dev/null
@@ -1,12 +0,0 @@
-PLATFORM="darwin"
-CC="cc"
-CXX="c++"
-
-# Write entries into the cache file before building cmake.
-WriteCMakeCache()
-{
-${CAT} > CMakeCache.txt <<EOF
-BUILD_TESTING:BOOL=OFF
-CURSES_LIBRARY:FILEPATH=/usr/local/lib/libncurses.a
-EOF
-}
diff --git a/Utilities/cmake_release_config_hpux b/Utilities/cmake_release_config_hpux
deleted file mode 100644
index 61e84fe..0000000
--- a/Utilities/cmake_release_config_hpux
+++ /dev/null
@@ -1,20 +0,0 @@
-PLATFORM="hpux-static"
-CC="cc"
-CXX="aCC"
-
-# Write entries into the cache file before building cmake.
-WriteCMakeCache()
-{
-BINDIR=`pwd`
-
-${CAT} > UserMakeRules.cmake <<EOF
-SET(CMAKE_DL_LIBS "")
-EOF
-
-${CAT} > CMakeCache.txt <<EOF
-BUILD_TESTING:BOOL=OFF
-CMAKE_EXE_LINKER_FLAGS:STRING=-ldld -Wl,-a,archive
-CMAKE_USER_MAKE_RULES_OVERRIDE:STRING=${BINDIR}/UserMakeRules.cmake
-CMAKE_SKIP_RPATH:BOOL=1
-EOF
-}
diff --git a/Utilities/cmake_release_config_irix b/Utilities/cmake_release_config_irix
deleted file mode 100644
index 9c5345f..0000000
--- a/Utilities/cmake_release_config_irix
+++ /dev/null
@@ -1,3 +0,0 @@
-PLATFORM="irix64"
-CC="cc"
-CXX="CC"
diff --git a/Utilities/cmake_release_config_linux b/Utilities/cmake_release_config_linux
deleted file mode 100644
index 5bb103f..0000000
--- a/Utilities/cmake_release_config_linux
+++ /dev/null
@@ -1,16 +0,0 @@
-PLATFORM="x86-linux-static"
-CREATE_SOURCE_TARBALL="yes"
-CURSES_LIBRARY="/usr/lib/libcurses.a"
-FORM_LIBRARY="/usr/lib/libform.a"
-
-# Write entries into the cache file before building cmake.
-WriteCMakeCache()
-{
-${CAT} > CMakeCache.txt <<EOF
-BUILD_TESTING:BOOL=OFF
-CMAKE_EXE_LINKER_FLAGS:STRING=-static
-CMAKE_SKIP_RPATH:BOOL=1
-CURSES_LIBRARY:FILEPATH=${CURSES_LIBRARY}
-FORM_LIBRARY:FILEPATH=${FORM_LIBRARY}
-EOF
-}
diff --git a/Utilities/cmake_release_config_osf b/Utilities/cmake_release_config_osf
deleted file mode 100644
index 2e913a0..0000000
--- a/Utilities/cmake_release_config_osf
+++ /dev/null
@@ -1,18 +0,0 @@
-PLATFORM="alpha-osf"
-CC="cc"
-CXX="cxx"
-CXXFLAGS="-std strict_ansi -nopure_cname"
-FLTK_INCLUDE_PATH="/usr/local/fltk-cxx/include"
-FLTK_LIBRARY="/usr/local/fltk-cxx/lib/libfltk.a"
-TCL_TCLSH="/usr/local/bin/tclsh8.3"
-
-# Write entries into the cache file before building cmake.
-WriteCMakeCache()
-{
-${CAT} > CMakeCache.txt <<EOF
-BUILD_TESTING:BOOL=OFF
-FLTK_INCLUDE_PATH:PATH=${FLTK_INCLUDE_PATH}
-FLTK_LIBRARY:FILEPATH=${FLTK_LIBRARY}
-TCL_TCLSH:FILEPATH=${TCL_TCLSH}
-EOF
-}
diff --git a/Utilities/cmake_release_config_sun b/Utilities/cmake_release_config_sun
deleted file mode 100644
index 43e7623..0000000
--- a/Utilities/cmake_release_config_sun
+++ /dev/null
@@ -1,22 +0,0 @@
-PLATFORM="sparc-sunos57-static"
-CURSES_LIBRARY="/usr/lib/libcurses.a"
-FORM_LIBRARY="/usr/lib/libform.a"
-
-# Write entries into the cache file before building cmake.
-WriteCMakeCache()
-{
-BINDIR=`pwd`
-
-${CAT} > UserMakeRules.cmake <<EOF
-SET(CMAKE_DL_LIBS "")
-EOF
-
-${CAT} > CMakeCache.txt <<EOF
-BUILD_TESTING:BOOL=OFF
-CMAKE_EXE_LINKER_FLAGS:STRING=-Wl,-Bdynamic -ldl -Wl,-Bstatic
-CMAKE_USER_MAKE_RULES_OVERRIDE:STRING=${BINDIR}/UserMakeRules.cmake
-CMAKE_SKIP_RPATH:BOOL=1
-CURSES_LIBRARY:FILEPATH=${CURSES_LIBRARY}
-FORM_LIBRARY:FILEPATH=${FORM_LIBRARY}
-EOF
-}
diff --git a/Utilities/cmake_release_cygwin.sh b/Utilities/cmake_release_cygwin.sh
deleted file mode 100755
index 9f98c40..0000000
--- a/Utilities/cmake_release_cygwin.sh
+++ /dev/null
@@ -1,114 +0,0 @@
-#!/bin/sh
-#
-# CMake Cygwin package creation script. Run this in an empty
-# directory from a separate CMake checkout.
-#
-
-# 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="${CURRENT_VERSION}"
-REL="${CURRENT_RELEASE}"
-PREVER="${PREVIOUS_VERSION}"
-PREREL="${PREVIOUS_RELEASE}"
-
-CVSROOT=":pserver:anonymous@www.cmake.org:/cvsroot/CMake"
-FULLPKG="${PKG}-${VER}-${REL}"
-
-SELF_DIR=`cd \`echo "$0" | sed -n '/\//{s/\/[^\/]*$//;p;}'\`;pwd`
-
-WriteREADME()
-{
-CYGVERSION=`uname -r`
-cat > ${PKG}-${VER}/CYGWIN-PATCHES/cmake.README <<EOF
-cmake
---------------------------------------
-Runtime requirements:
- cygwin-${CYGVERSION} or newer
-
-Build requirements
- cygwin-${CYGVERSION} or newer
- make
-
-Canonical homepage:
- http://www.cmake.org
-
-Canonical download:
- ftp://www.cmake.org/pub/cmake/
-
-------------------------------------
-
-Build instructions:
- unpack ${FULLPKG}-src.tar.bz2
- if you use setup to install this src package, it will be
- unpacked under /usr/src automatically
- cd /usr/src
- ./${FULLPKG}.sh all
-
-This will create:
- /usr/src/${FULLPKG}.tar.bz2
- /usr/src/${FULLPKG}-src.tar.bz2
-
--------------------------------------------
-
-Port Notes:
-
-<none>
-
-------------------
-
-Cygwin port maintained by: CMake Developers <cmake@www.cmake.org>
-
-EOF
-}
-
-WriteSetupHint()
-{
-cat > ${PKG}-${VER}/CYGWIN-PATCHES/setup.hint <<EOF
-# CMake setup.hint file for cygwin setup.exe program
-category: Devel
-requires: libncurses6 cygwin
-sdesc: "A cross platform build manger"
-ldesc: "CMake is a cross platform build manager. It allows you to specify build parameters for C and C++ programs in a cross platform manner. For cygwin Makefiles will be generated. CMake is also capable of generating microsoft project files, nmake, and borland makefiles. CMake can also perform system inspection operations like finding installed libraries and header files."
-prev: ${PREVER}-${PREREL}
-curr: ${VER}-${REL}
-EOF
-dos2unix ${PKG}-${VER}/CYGWIN-PATCHES/setup.hint
-cp ${PKG}-${VER}/CYGWIN-PATCHES/setup.hint ./setup.hint
-}
-
-SourceTarball()
-{
- cvs -z3 -d ${CVSROOT} export ${CVS_TAG} CMake &&
- mv CMake ${PKG}-${VER} &&
- tar cvjf ${PKG}-${VER}.tar.bz2 ${PKG}-${VER}
-}
-
-SourcePatch()
-{
- mv ${PKG}-${VER} ${PKG}-${VER}-orig &&
- tar xvjf ${PKG}-${VER}.tar.bz2 &&
- mkdir -p ${PKG}-${VER}/CYGWIN-PATCHES &&
- WriteREADME &&
- WriteSetupHint &&
- (diff -urN "${PKG}-${VER}-orig" "${PKG}-${VER}" > "${FULLPKG}.patch")
- rm -rf ${PKG}-${VER} ${PKG}-${VER}-orig
-}
-
-CygwinScript()
-{
- cp ${SELF_DIR}/cmake-cygwin-package.sh ./${FULLPKG}.sh
- chmod u+x ./${FULLPKG}.sh
-}
-
-Package()
-{
- ./${FULLPKG}.sh all
-}
-
-SourceTarball && SourcePatch && CygwinScript && Package
diff --git a/Utilities/cmake_release_unix_build.sh b/Utilities/cmake_release_unix_build.sh
deleted file mode 100755
index a6c85ac..0000000
--- a/Utilities/cmake_release_unix_build.sh
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/bin/sh
-#
-# CMake UNIX Release Script.
-#
-# Run this in an empty directory. Your ~/.cvspass file should already
-# have an entry for the CVSROOT used below.
-#
-
-# Find our own script's location.
-SELFPATH=`cd \`echo $0 | sed -n '/\//{s/\/[^\/]*$//;p;}'\`;pwd`
-
-# Read the configuration.
-. ${SELFPATH}/cmake_release_unix_config.sh
-
-# Cleanup from possible previous run.
-rm -rf ${LOG_DIR} ${BUILD_DIR} ${INSTALL_DIR} ${TARBALL_DIR}
-mkdir -p ${LOG_DIR} ${BUILD_DIR} ${INSTALL_DIR} ${TARBALL_DIR}
-
-# Make sure the source is exported from CVS.
-if test ! -d ${SOURCE_DIR} ; then
- cd ${RELEASE_ROOT}
- rm -rf CMake
- echo "Exporing CMake from CVS..."
- if ${CVS} -z3 -d ${CVSROOT} export -r ${RELEASE_TAG} \
- CMake > ${LOG_DIR}/cvs.log 2>&1 ; then : ; else
- echo "Error, see ${LOG_DIR}/cvs.log"
- exit 1
- fi
- mv CMake CMake-$VERSION
-fi
-
-# Build the release.
-cd ${BUILD_DIR}
-echo "Writing CMakeCache.txt..."
-WriteCMakeCache
-
-echo "Running configure..."
-if ${SOURCE_DIR}/configure --prefix=${PREFIX} > ${LOG_DIR}/configure.log 2>&1 ; then : ; else
- echo "Error, see ${LOG_DIR}/configure.log"
- exit 1
-fi
-
-echo "Running make..."
-if ${MAKE} > ${LOG_DIR}/make.log 2>&1 ; then : ; else
- echo "Error, see ${LOG_DIR}/make.log"
- exit 1
-fi
diff --git a/Utilities/cmake_release_unix_config.sh b/Utilities/cmake_release_unix_config.sh
deleted file mode 100755
index 3ad9e6a..0000000
--- a/Utilities/cmake_release_unix_config.sh
+++ /dev/null
@@ -1,92 +0,0 @@
-#!/bin/sh
-#
-# CMake UNIX Release Configuration Script.
-#
-# This is sourced by the cmake_release_unix_build and
-# cmake_release_unix_package to setup the configuration.
-#
-
-# Check the command line arguments.
-CONFIG_FILE=$1
-if test "x$1" = "x"; then
- echo "Usage:"
- echo " $0 <configuration-file>"
- echo ""
- echo "Sample configuration file:"
- echo " PLATFORM=\"x86-linux\""
- exit 1
-fi
-
-# Set some defaults here. They can be changed by the configuration
-# file.
-CVSROOT=":pserver:anonymous@www.cmake.org:/cvsroot/CMake"
-CAT="cat"
-COMPRESS="compress"
-CREATE_SOURCE_TARBALL="no"
-CVS="cvs"
-FIND="find"
-GZIP="gzip"
-MAKE="make"
-MKDIR="mkdir"
-RELEASE_ROOT=`pwd`
-STRIP="strip"
-TAR="tar"
-TOUCH="touch"
-CC="gcc"
-CXX="c++"
-CFLAGS=""
-CXXFLAGS=""
-PREFIX="/usr/local"
-INSTALL_SUBDIRS="bin share doc"
-DOC_DIR="/doc/cmake"
-# Functions can be replaced by configuration file.
-
-# Create extra files in the installation tree. This allows
-# configurations to add documentation.
-CreateExtraFiles()
-{
- return 0
-}
-
-# Create a package file. This allows configurations to create
-# packages for certain UNIX distributions.
-CreatePackage()
-{
- return 0
-}
-
-# Write entries into the cache file before building cmake.
-WriteCMakeCache()
-{
-${CAT} > CMakeCache.txt <<EOF
-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}..."
-if . ${CONFIG_FILE} ; then : ; else
- echo "Error reading configuration."
- exit 1
-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"
-BUILD_DIR="${RELEASE_ROOT}/CMake-$VERSION-$PLATFORM-build"
-LOG_DIR="${RELEASE_ROOT}/Logs"
-INSTALL_OPTIONS="DESTDIR=\"${INSTALL_DIR}\""
-
-if [ -z "$SOURCE_TARBALL_NAME" ]; then
- SOURCE_TARBALL_NAME="CMake$VERSION-src-unix"
-fi
diff --git a/Utilities/cmake_release_unix_package.sh b/Utilities/cmake_release_unix_package.sh
deleted file mode 100755
index b6d74cb..0000000
--- a/Utilities/cmake_release_unix_package.sh
+++ /dev/null
@@ -1,112 +0,0 @@
-#!/bin/sh
-#
-# CMake UNIX Release Script.
-#
-# Run this in the directory where cmake_release_unix_build was run.
-#
-
-# Find our own script's location.
-SELFPATH=`cd \`echo $0 | sed -n '/\//{s/\/[^\/]*$//;p;}'\`;pwd`
-
-# Read the configuration.
-. ${SELFPATH}/cmake_release_unix_config.sh
-
-# Cleanup from possible previous run.
-rm -rf ${INSTALL_DIR} ${TARBALL_DIR}
-mkdir -p ${INSTALL_DIR} ${TARBALL_DIR}
-
-# Run the installation.
-cd ${BUILD_DIR}
-echo "Running make install ${INSTALL_OPTIONS}..."
-if ${MAKE} install ${INSTALL_OPTIONS} > ${LOG_DIR}/make_install.log 2>&1 ; then : ; else
- echo "Error, see ${LOG_DIR}/make_install.log"
- exit 1
-fi
-
-# Strip the executables.
-echo "Stripping executables..."
-if ${STRIP} ${INSTALL_DIR}${PREFIX}/bin/* \
- > ${LOG_DIR}/strip.log 2>&1 ; then : ; else
- echo "Error, see ${LOG_DIR}/strip.log"
- exit 1
-fi
-
-# Make the source tarball if requested.
-if test "${CREATE_SOURCE_TARBALL}" = "yes" ; then
- (
- cd ${RELEASE_ROOT}
- TARBALL="${TARBALL_DIR}/${SOURCE_TARBALL_NAME}.tar"
- echo "Creating ${SOURCE_TARBALL_NAME}.tar"
- if ${TAR} cvf $TARBALL CMake-$VERSION \
- > ${LOG_DIR}/${SOURCE_TARBALL_NAME}.log 2>&1 ; then : ; else
- echo "Error, see ${LOG_DIR}/${SOURCE_TARBALL_NAME}.log"
- exit 1
- fi
- if test "x${GZIP}" != "x" ; then
- echo "Creating $TARBALL.gz"
- ${GZIP} -c $TARBALL > $TARBALL.gz
- fi
- if test "x${COMPRESS}" != "x" ; then
- echo "Creating $TARBALL.Z"
- ${COMPRESS} $TARBALL
- fi
- )
-fi
-
-# Let the configuration file add some files.
-cd ${BUILD_DIR}
-CreateExtraFiles
-
-# Create the manifest file.
-echo "Writing MANIFEST..."
-${MKDIR} -p ${INSTALL_DIR}${PREFIX}${DOC_DIR}
-${TOUCH} ${INSTALL_DIR}${PREFIX}${DOC_DIR}/MANIFEST
-cd ${INSTALL_DIR}${PREFIX}
-FILES=`${FIND} ${INSTALL_SUBDIRS} -type f |sed 's/^\.\///'`
-${CAT} >> ${INSTALL_DIR}${PREFIX}${DOC_DIR}/MANIFEST <<EOF
-${FILES}
-EOF
-
-# Allow the configuration to create package files if it wants to do so.
-CreatePackage
-
-# Create the release tarballs.
-INTERNAL_NAME="cmake-$VERSION-$PLATFORM-files"
-echo "Creating ${INTERNAL_NAME}.tar"
-cd ${INSTALL_DIR}${PREFIX}
-if ${TAR} cvf ${INSTALL_DIR}/${INTERNAL_NAME}.tar ${INSTALL_SUBDIRS} \
- > ${LOG_DIR}/${INTERNAL_NAME}.log 2>&1 ; then : ; else
- echo "Error, see ${LOG_DIR}/${INTERNAL_NAME}.log"
- exit 1
-fi
-
-echo "Writing README"
-cd ${INSTALL_DIR}
-${CAT} >> README <<EOF
-CMake $VERSION binary for $PLATFORM
-
-Extract the file "${INTERNAL_NAME}.tar" into your destination
-directory (typically /usr/local). The following files will be
-extracted:
-
-${FILES}
-
-EOF
-
-TARBALL="${TARBALL_DIR}/CMake$VERSION-$PLATFORM.tar"
-echo "Creating CMake$VERSION-$PLATFORM.tar"
-if ${TAR} cvf $TARBALL README ${INTERNAL_NAME}.tar \
- > ${LOG_DIR}/CMake$VERSION-$PLATFORM.log 2>&1 ; then : ; else
- "Error, see ${LOG_DIR}/CMake$VERSION-$PLATFORM.log"
- exit 1
-fi
-
-if test "x${GZIP}" != "x" ; then
- echo "Creating $TARBALL.gz"
- ${GZIP} -c $TARBALL > $TARBALL.gz
-fi
-
-if test "x${COMPRESS}" != "x" ; then
- echo "Creating $TARBALL.Z"
- ${COMPRESS} $TARBALL
-fi
diff --git a/Utilities/cmake_release_version.sh b/Utilities/cmake_release_version.sh
deleted file mode 100755
index 29c8fe7..0000000
--- a/Utilities/cmake_release_version.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-CURRENT_TAG="Release-1-6"
-CURRENT_VERSION="1.6.beta2"
-CURRENT_RELEASE="1"
-
-# Cygwin packages need previous version/release.
-PREVIOUS_VERSION="1.4.7"
-PREVIOUS_RELEASE="1"