diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-05-08 20:36:51 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-05-08 20:36:51 (GMT) |
commit | 1b40075c9c080ab52304803b12765e166dcad563 (patch) | |
tree | 83d909059c92be964639afd7fc3971e5670d7709 /Utilities/Release/release_cmake.sh.in | |
parent | 1d8043cb4fd6c1bfa3091ea11cd8cde956fcfb99 (diff) | |
download | CMake-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-x | Utilities/Release/release_cmake.sh.in | 12 |
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 |