summaryrefslogtreecommitdiffstats
path: root/Utilities/Release/cmake_release.sh
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-08-11 21:36:02 (GMT)
committerBrad King <brad.king@kitware.com>2003-08-11 21:36:02 (GMT)
commitd6b9648ee346b3e0cff039c1701a4c4eaa52789f (patch)
treec25b115407b456fb6accc96b342734c80e508e12 /Utilities/Release/cmake_release.sh
parentffd7c4d2a50b87a551b19f40e556fc585fd220df (diff)
downloadCMake-d6b9648ee346b3e0cff039c1701a4c4eaa52789f.zip
CMake-d6b9648ee346b3e0cff039c1701a4c4eaa52789f.tar.gz
CMake-d6b9648ee346b3e0cff039c1701a4c4eaa52789f.tar.bz2
Merge from 1.8 branch.
Diffstat (limited to 'Utilities/Release/cmake_release.sh')
-rwxr-xr-xUtilities/Release/cmake_release.sh15
1 files changed, 9 insertions, 6 deletions
diff --git a/Utilities/Release/cmake_release.sh b/Utilities/Release/cmake_release.sh
index 0f971e8..a58423b 100755
--- a/Utilities/Release/cmake_release.sh
+++ b/Utilities/Release/cmake_release.sh
@@ -52,6 +52,9 @@ CXX=""
CFLAGS=""
CXXFLAGS=""
+# Provide a default make.
+MAKE=make
+
# Details of remote invocation.
[ -z "$REMOTE" ] && SELF="$0"
@@ -366,10 +369,10 @@ configure()
config || return 1
[ -d "cmake-${VERSION}" ] || checkout || return 1
cache || return 1
- echo "Running configure ..." &&
+ echo "Running bootstrap ..." &&
(
cd "cmake-${VERSION}-${PLATFORM}" &&
- ../cmake-${VERSION}/configure --prefix=${PREFIX}
+ ../cmake-${VERSION}/bootstrap --prefix=${PREFIX}
) >Logs/configure.log 2>&1 || error_log Logs/configure.log
}
@@ -384,7 +387,7 @@ build()
echo "Running make ..." &&
(
cd "cmake-${VERSION}-${PLATFORM}" &&
- make
+ ${MAKE}
) >Logs/build.log 2>&1 || error_log Logs/build.log
}
@@ -398,7 +401,7 @@ tests()
(
cd "cmake-${VERSION}-${PLATFORM}" &&
rm -rf Tests &&
- ./Source/ctest -V
+ ./bin/ctest -V
) >Logs/tests.log 2>&1 || error_log Logs/tests.log
}
@@ -412,7 +415,7 @@ install()
(
rm -rf Install &&
cd "cmake-${VERSION}-${PLATFORM}" &&
- make install DESTDIR="${RELEASE_ROOT}/Install"
+ ${MAKE} install DESTDIR="${RELEASE_ROOT}/Install"
) >Logs/install.log 2>&1 || error_log Logs/install.log
}
@@ -685,7 +688,7 @@ osx_install()
mkdir -p OSX/Resources/PostFlight &&
(
cd "cmake-${VERSION}-${PLATFORM}" &&
- make install DESTDIR="${RELEASE_ROOT}/OSX/Package_Root"
+ ${MAKE} install DESTDIR="${RELEASE_ROOT}/OSX/Package_Root"
) &&
cp cmake-${VERSION}/Copyright.txt OSX/Resources/License.txt &&
cp -r cmake-${VERSION}-${PLATFORM}/Source/CMake.app OSX/Package_Root/Applications &&