@@ -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
@@ -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)