X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d2a16d0dc16c1c349475c7b349a92242dcd329b3..9abff0e56874d585e463f05fe2c1fe78ccd7fcd6:/buildtools/Cmake/Distrib.cmake diff --git a/buildtools/Cmake/Distrib.cmake b/buildtools/Cmake/Distrib.cmake index f33ecb2e67..0e2efbac86 100644 --- a/buildtools/Cmake/Distrib.cmake +++ b/buildtools/Cmake/Distrib.cmake @@ -95,12 +95,12 @@ foreach(file ${HEADERS}) endforeach(file ${HEADERS}) # example files -foreach(file ${examples_to_install_in_doc}) +foreach(file ${examples_to_install}) string(REPLACE "${CMAKE_CURRENT_SOURCE_DIR}/examples/" "" file ${file}) get_filename_component(location ${file} PATH) install(FILES "examples/${file}" DESTINATION $ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/doc/simgrid/examples/${location}) -endforeach(file ${examples_to_install_in_doc}) +endforeach(file ${examples_to_install}) # bindings cruft @@ -174,6 +174,48 @@ endif(HAVE_LUA) ## (instead of any cruft laying on my disk as CPack does) ### ################################################################ +# This is the complete list of what will be added to the source archive +set(source_to_pack + ${headers_to_install} + ${source_of_generated_headers} + ${XBT_RL_SRC} + ${EXTRA_DIST} + ${SMPI_SRC} + ${GRAS_RL_SRC} + ${XBT_SRC} + ${GTNETS_SRC} + ${NS3_SRC} + ${SURF_SRC} + ${SIMIX_SRC} + ${TRACING_SRC} + ${MSG_SRC} + ${SIMDAG_SRC} + ${GRAS_COMMON_SRC} + ${GRAS_SG_SRC} + ${AMOK_SRC} + ${LUA_SRC} + ${MC_SRC} + ${JEDULE_SRC} + ${RNGSTREAM_SRC} + ${BINDINGS_FILES} + ${CMAKE_SOURCE_FILES} + ${EXAMPLES_CMAKEFILES_TXT} + ${TESHSUITE_CMAKEFILES_TXT} + ${TOOLS_CMAKEFILES_TXT} + ${TESTSUITE_CMAKEFILES_TXT} + ${DOC_SOURCES} + ${DOC_FIGS} + ${README_files} + ${xml_files} + ${tesh_files} + ${txt_files} + ${bin_files} + ${examples_src} + ${teshsuite_src} + ${tools_src} + ${testsuite_src} +) + ########################################## ### Fill in the "make dist-dir" target ### ########################################## @@ -214,7 +256,7 @@ foreach(file ${source_to_pack}) add_custom_command( TARGET dist-dir - COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_HOME_DIRECTORY}/buildtools/Cmake/Makefile.default ${PROJECT_NAME}-${release_version}/Makefile + COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_HOME_DIRECTORY}/buildtools/Cmake/Scripts/Makefile.default ${PROJECT_NAME}-${release_version}/Makefile ) endforeach(file ${source_to_pack}) @@ -330,7 +372,7 @@ WORKING_DIRECTORY "${CMAKE_HOME_DIRECTORY}" add_custom_target(sync-gforge-doc COMMAND chmod g+rw -R doc/ COMMAND chmod a+rX -R doc/ -COMMAND ssh scm.gforge.inria.fr mkdir /home/groups/simgrid/htdocs/simgrid/${release_version}/ +COMMAND ssh scm.gforge.inria.fr mkdir /home/groups/simgrid/htdocs/simgrid/${release_version}/ || true COMMAND rsync --verbose --cvs-exclude --compress --delete --delete-excluded --rsh=ssh --ignore-times --recursive --links --perms --times --omit-dir-times doc/html/ scm.gforge.inria.fr:/home/groups/simgrid/htdocs/simgrid/${release_version}/doc/ || true COMMAND scp doc/html/simgrid_modules2.png doc/html/simgrid_modules.png doc/webcruft/simgrid_logo_2011.png doc/webcruft/simgrid_logo_small.png scm.gforge.inria.fr:/home/groups/simgrid/htdocs/simgrid/${release_version}/