From: navarrop Date: Thu, 14 Oct 2010 15:50:49 +0000 (+0000) Subject: Add documentation to distrib. X-Git-Tag: v3_5~397 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/5fc8bc9b1e483710e991bb9edf1519042d1bae43 Add documentation to distrib. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8427 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/buildtools/Cmake/DefinePackages.cmake b/buildtools/Cmake/DefinePackages.cmake index 642e48e2be..24861579ba 100755 --- a/buildtools/Cmake/DefinePackages.cmake +++ b/buildtools/Cmake/DefinePackages.cmake @@ -749,10 +749,6 @@ set(bin_files tools/MSG_visualization/colorize.pl ) -file(GLOB_RECURSE doc_files -"doc/html/*" -) - # This is the complete lise of what will be added to the source archive set(source_to_pack ${XBT_RL_SRC} @@ -783,5 +779,4 @@ set(source_to_pack ${EXTRA_DIST} ${CMAKE_SOURCE_FILES} ${bin_files} - ${doc_files} ) diff --git a/buildtools/Cmake/Distrib.cmake b/buildtools/Cmake/Distrib.cmake index 9d1e57ee4d..9bb1571bbd 100755 --- a/buildtools/Cmake/Distrib.cmake +++ b/buildtools/Cmake/Distrib.cmake @@ -216,6 +216,8 @@ add_custom_target(dist-dir COMMAND test -e simgrid-${release_version}/ && chmod -R a+w simgrid-${release_version}/ || true COMMAND ${CMAKE_COMMAND} -E remove_directory simgrid-${release_version} COMMAND ${CMAKE_COMMAND} -E make_directory simgrid-${release_version} + COMMAND ${CMAKE_COMMAND} -E make_directory simgrid-${release_version}/doc/html/ + COMMAND ${CMAKE_COMMAND} -E copy_directory ${PROJECT_DIRECTORY}/doc/html/ simgrid-${release_version}/doc/html/ ) set(dirs_in_tarball "")