ENH: add extra copy for aix

This commit is contained in:
Bill Hoffman 2006-05-05 22:04:55 -04:00
parent f08b1a2c96
commit fe2b970c43
2 changed files with 7 additions and 0 deletions

View File

@ -74,4 +74,9 @@ echo "Create Tar.gz"
./bin/cpack -G TGZ ./bin/cpack -G TGZ
check_exit_value $? "Create TGZ" || exit 1 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 exit 0

View File

@ -7,5 +7,7 @@ set(MAKE "make")
set(CC "xlc") set(CC "xlc")
set(CXX "xlC") set(CXX "xlC")
set(INITIAL_CACHE "CMAKE_BUILD_TYPE:STRING=Release") set(INITIAL_CACHE "CMAKE_BUILD_TYPE:STRING=Release")
set(EXTRA_COPY "mv *.sh ~
mv *.tgz ~")
get_filename_component(path "${CMAKE_CURRENT_LIST_FILE}" PATH) get_filename_component(path "${CMAKE_CURRENT_LIST_FILE}" PATH)
include(${path}/release_cmake.cmake) include(${path}/release_cmake.cmake)