From 86ef93540872830ed4c8a5737678f6eb528d021d Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Sat, 15 Jun 2019 21:20:04 +0200 Subject: [PATCH] dont copy the old doc in the tarball, even if it still exists on disk --- tools/cmake/Distrib.cmake | 9 --------- 1 file changed, 9 deletions(-) diff --git a/tools/cmake/Distrib.cmake b/tools/cmake/Distrib.cmake index b6e5531c0a..8cdd973b1f 100644 --- a/tools/cmake/Distrib.cmake +++ b/tools/cmake/Distrib.cmake @@ -195,15 +195,6 @@ add_custom_target(dist-dir ) add_dependencies(dist-dir maintainer_files) -if(IS_DIRECTORY ${CMAKE_BINARY_DIR}/doc/html/) - add_custom_command(TARGET dist-dir POST_BUILD - COMMENT "Copying the documentation" - COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_BINARY_DIR}/doc/html/ ${PROJECT_NAME}-${release_version}/doc/html/ - COMMAND rm -f `grep -rl " Reference" ${PROJECT_NAME}-${release_version}/doc/html/` # Doxygen, go away - COMMAND rm -f `grep -rl "Member List" ${PROJECT_NAME}-${release_version}/doc/html/` # Doxygen, you're getting annoying - ) -endif() - set(dirs_in_tarball "") set(PYTHON_SOURCES "include MANIFEST.in") foreach(file ${source_to_pack}) -- 2.20.1