summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-05-06 02:04:55 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-05-06 02:04:55 (GMT)
commitfe2b970c43fda3fbdf02a41a26318423809a199f (patch)
tree6363f24e93c9f2a785d76533a89591bbdb7cf08a /Utilities
parentf08b1a2c968ee2bdb010229da2ce129bbba4856b (diff)
downloadCMake-fe2b970c43fda3fbdf02a41a26318423809a199f.zip
CMake-fe2b970c43fda3fbdf02a41a26318423809a199f.tar.gz
CMake-fe2b970c43fda3fbdf02a41a26318423809a199f.tar.bz2
ENH: add extra copy for aix
Diffstat (limited to 'Utilities')
-rwxr-xr-xUtilities/Release/release_cmake.sh.in5
-rw-r--r--Utilities/Release/v60n177_aix_release.cmake2
2 files changed, 7 insertions, 0 deletions
diff --git a/Utilities/Release/release_cmake.sh.in b/Utilities/Release/release_cmake.sh.in
index 4358f4c..4adb207 100755
--- a/Utilities/Release/release_cmake.sh.in
+++ b/Utilities/Release/release_cmake.sh.in
@@ -74,4 +74,9 @@ echo "Create Tar.gz"
./bin/cpack -G TGZ
check_exit_value $? "Create TGZ" || exit 1
+# need to add an extra copy thing here
+if [ ! -z "@EXTRA_COPY@" ]; then
+ @EXTRA_COPY@
+ check_exit_value $? "Extra copy step @EXTRA_COPY@" || exit 1
+fi
exit 0
diff --git a/Utilities/Release/v60n177_aix_release.cmake b/Utilities/Release/v60n177_aix_release.cmake
index 91c14ac..3747871 100644
--- a/Utilities/Release/v60n177_aix_release.cmake
+++ b/Utilities/Release/v60n177_aix_release.cmake
@@ -7,5 +7,7 @@ set(MAKE "make")
set(CC "xlc")
set(CXX "xlC")
set(INITIAL_CACHE "CMAKE_BUILD_TYPE:STRING=Release")
+set(EXTRA_COPY "mv *.sh ~
+mv *.tgz ~")
get_filename_component(path "${CMAKE_CURRENT_LIST_FILE}" PATH)
include(${path}/release_cmake.cmake)