summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2007-02-12 17:06:02 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2007-02-12 17:06:02 (GMT)
commita5aa05c051316ae068b37e933bda648945dfc855 (patch)
tree8c06939359973a4466fe7a773c8c3222b6a8445e /Utilities
parentc55a3e4d487d38144d24f8e6180d32040acbfa5d (diff)
downloadCMake-a5aa05c051316ae068b37e933bda648945dfc855.zip
CMake-a5aa05c051316ae068b37e933bda648945dfc855.tar.gz
CMake-a5aa05c051316ae068b37e933bda648945dfc855.tar.bz2
ENH: add cygwin cpack stuff to release scripts
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/Release/create-cmake-release.cmake4
-rw-r--r--Utilities/Release/release_cmake.cmake16
2 files changed, 17 insertions, 3 deletions
diff --git a/Utilities/Release/create-cmake-release.cmake b/Utilities/Release/create-cmake-release.cmake
index 9307f5a..574e662 100644
--- a/Utilities/Release/create-cmake-release.cmake
+++ b/Utilities/Release/create-cmake-release.cmake
@@ -10,9 +10,9 @@ set(RELEASE_SCRIPTS
dashsgi1_release.cmake # IRIX
dashsgi1_release64.cmake # IRIX 64
vogon_release.cmake # Windows
- discworld_cygwin.cmake # Cygwin
+ vogon_cygwin.cmake # Cygwin
# r36n11_aix_release.cmake # AIX 5.3
- r15n65_aix_release.cmake # AIX 5.2
+ r15n65_aix_release.cmake # AIX 5.2
)
file(WRITE create-${CMAKE_VERSION}.sh "#!/bin/sh")
diff --git a/Utilities/Release/release_cmake.cmake b/Utilities/Release/release_cmake.cmake
index 42b2942..a977d1f 100644
--- a/Utilities/Release/release_cmake.cmake
+++ b/Utilities/Release/release_cmake.cmake
@@ -101,7 +101,8 @@ foreach(gen ${generators})
endif("${gen}" STREQUAL "TBZ2")
if("${gen}" MATCHES "Cygwin")
set(SUFFIXES ${SUFFIXES} "*.tar.bz2")
- endif("${gen}" STREQUAL "Cygwin")
+ set(extra_files setup.hint)
+ endif("${gen}" MATCHES "Cygwin")
if("${gen}" STREQUAL "TZ")
set(SUFFIXES ${SUFFIXES} "*.tar.Z")
endif("${gen}" STREQUAL "TZ")
@@ -123,3 +124,16 @@ foreach(suffix ${SUFFIXES})
message("error getting file back scp ${HOST}:${FINAL_PATH}/${PROJECT_PREFIX}${suffix} .")
endif(${result} GREATER 0)
endforeach(suffix)
+
+# if there are extra files to copy get them as well
+if(extra_files)
+ foreach(f ${extra_files})
+ message("scp ${HOST}:${FINAL_PATH}/${f} .")
+ execute_process(COMMAND
+ scp ${HOST}:${FINAL_PATH}/${f} .
+ RESULT_VARIABLE result)
+ if(${result} GREATER 0)
+ message("error getting file back scp ${HOST}:${FINAL_PATH}/${f} .")
+ endif(${result} GREATER 0)
+ endforeach(f)
+endif(extra_files)