X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/46e10f99243ececf3233e6d5f39d90007cd19afe..a6d7301d8037b4df9ea1e25000af5790f822e76b:/buildtools/Cmake/Distrib.cmake diff --git a/buildtools/Cmake/Distrib.cmake b/buildtools/Cmake/Distrib.cmake index 4add056ca6..c7e7b78adf 100644 --- a/buildtools/Cmake/Distrib.cmake +++ b/buildtools/Cmake/Distrib.cmake @@ -87,6 +87,14 @@ foreach(file ${examples_to_install_in_doc}) DESTINATION $ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/doc/simgrid/examples/${location}) endforeach(file ${examples_to_install_in_doc}) +# example README +foreach(file ${README_examples_files}) + string(REPLACE "${PROJECT_DIRECTORY}/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 ${README_examples_files}) + # bindings cruft if(HAVE_JAVA) install(FILES ${CMAKE_BINARY_DIR}/simgrid.jar