summaryrefslogtreecommitdiffstats
path: root/Utilities/Release/release_cmake.sh.in
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-05-08 20:36:51 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-05-08 20:36:51 (GMT)
commit1b40075c9c080ab52304803b12765e166dcad563 (patch)
tree83d909059c92be964639afd7fc3971e5670d7709 /Utilities/Release/release_cmake.sh.in
parent1d8043cb4fd6c1bfa3091ea11cd8cde956fcfb99 (diff)
downloadCMake-1b40075c9c080ab52304803b12765e166dcad563.zip
CMake-1b40075c9c080ab52304803b12765e166dcad563.tar.gz
CMake-1b40075c9c080ab52304803b12765e166dcad563.tar.bz2
ENH: add make program stuff
Diffstat (limited to 'Utilities/Release/release_cmake.sh.in')
-rwxr-xr-xUtilities/Release/release_cmake.sh.in12
1 files changed, 7 insertions, 5 deletions
diff --git a/Utilities/Release/release_cmake.sh.in b/Utilities/Release/release_cmake.sh.in
index 4adb207..0c26e5b 100755
--- a/Utilities/Release/release_cmake.sh.in
+++ b/Utilities/Release/release_cmake.sh.in
@@ -62,16 +62,18 @@ echo "Build cmake with @MAKE@"
@MAKE@
check_exit_value $? "Build cmake" || exit 1
-echo "Run cmake tests"
-@MAKE@ test
-check_exit_value $? "Test cmake" || exit 1
+if [ -z "@SKIP_TESTS@" ]; then
+ echo "Run cmake tests"
+ @MAKE@ test
+ check_exit_value $? "Test cmake" || exit 1
+fi
echo "Run package"
-@MAKE@ package
+./bin/cpack -D CMAKE_MAKE_PROGRAM=@MAKE_PROGRAM@
check_exit_value $? "Package cmake" || exit 1
echo "Create Tar.gz"
-./bin/cpack -G TGZ
+./bin/cpack -D CMAKE_MAKE_PROGRAM=@MAKE_PROGRAM@ -G TGZ
check_exit_value $? "Create TGZ" || exit 1
# need to add an extra copy thing here