From d0dadc425a1bea8f7186dee616761efc76911943 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Tue, 29 Jan 2013 16:25:23 +0100 Subject: [PATCH] In fact, doc/{user,ref}_guide are useless now. --- .gitignore | 6 ------ buildtools/Cmake/Distrib.cmake | 23 ----------------------- 2 files changed, 29 deletions(-) diff --git a/.gitignore b/.gitignore index c611ce7b82..5c2ec2a6e5 100644 --- a/.gitignore +++ b/.gitignore @@ -94,12 +94,6 @@ doc/footer.html *.doc.toc doc/latex/ doc/html -doc/user_guide/html -doc/user_guide/latex -doc/ref_guide/html -doc/ref_guide/latex -doc/dev_guide/html -doc/dev_guide/latex doc/index.php doc/simgrid.tag doc/doxygen/logcategories.doc diff --git a/buildtools/Cmake/Distrib.cmake b/buildtools/Cmake/Distrib.cmake index cfb0beba73..638c7309e1 100644 --- a/buildtools/Cmake/Distrib.cmake +++ b/buildtools/Cmake/Distrib.cmake @@ -3,25 +3,6 @@ ######################################### # doc -file(MAKE_DIRECTORY ${CMAKE_HOME_DIRECTORY}/doc/shared/doxygen/) -file(MAKE_DIRECTORY ${CMAKE_HOME_DIRECTORY}/doc/ref_guide/html/) -file(MAKE_DIRECTORY ${CMAKE_HOME_DIRECTORY}/doc/user_guide/html/) - -install(DIRECTORY "${CMAKE_HOME_DIRECTORY}/doc/ref_guide/html/" - DESTINATION "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/doc/simgrid/ref_guide/html/" - PATTERN ".svn" EXCLUDE - PATTERN ".git" EXCLUDE - PATTERN "*.o" EXCLUDE - PATTERN "*~" EXCLUDE - ) - -install(DIRECTORY "${CMAKE_HOME_DIRECTORY}/doc/user_guide/html/" - DESTINATION "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/doc/simgrid/user_guide/html/" - PATTERN ".svn" EXCLUDE - PATTERN ".git" EXCLUDE - PATTERN "*.o" EXCLUDE - PATTERN "*~" EXCLUDE - ) #### Generate the manpages if(NOT WIN32) @@ -230,10 +211,6 @@ add_custom_target(dist-dir COMMAND ${CMAKE_COMMAND} -E remove_directory ${PROJECT_NAME}-${release_version}/ COMMAND ${CMAKE_COMMAND} -E remove ${PROJECT_NAME}-${release_version}.tar.gz COMMAND ${CMAKE_COMMAND} -E make_directory ${PROJECT_NAME}-${release_version} - COMMAND ${CMAKE_COMMAND} -E make_directory ${PROJECT_NAME}-${release_version}/doc/user_guide/html/ - COMMAND ${CMAKE_COMMAND} -E make_directory ${PROJECT_NAME}-${release_version}/doc/ref_guide/html/ - COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_HOME_DIRECTORY}/doc/user_guide/html/ ${PROJECT_NAME}-${release_version}/doc/user_guide/html/ - COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_HOME_DIRECTORY}/doc/ref_guide/html/ ${PROJECT_NAME}-${release_version}/doc/ref_guide/html/ ) add_dependencies(dist-dir simgrid_documentation) add_dependencies(dist-dir maintainer_files) -- 2.20.1