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)