From fe2b970c43fda3fbdf02a41a26318423809a199f Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Fri, 5 May 2006 22:04:55 -0400 Subject: [PATCH] ENH: add extra copy for aix --- Utilities/Release/release_cmake.sh.in | 5 +++++ Utilities/Release/v60n177_aix_release.cmake | 2 ++ 2 files changed, 7 insertions(+) diff --git a/Utilities/Release/release_cmake.sh.in b/Utilities/Release/release_cmake.sh.in index 4358f4cd9..4adb207c4 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 91c14aca6..3747871ef 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)