Skip to content

Commit

Permalink
Merge #2817
Browse files Browse the repository at this point in the history
2817: doc: better removal of existing docs r=AlanGriffiths a=Saviq

`rm -f dir` doesn't do.

Fixes: #2800

Co-authored-by: Michał Sawicz (Saviq) <michal@sawicz.net>
  • Loading branch information
bors[bot] and Saviq committed Jan 31, 2023
2 parents 03be8be + df0e7b7 commit 0489253
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/Doxygen.cmake
Expand Up @@ -27,7 +27,7 @@ if(DOXYGEN_FOUND)
set(ALL "ALL")
endif()
add_custom_target(doc ${ALL}
COMMAND rm -f ${CMAKE_BINARY_DIR}/doc/html/{*,search}
COMMAND find ${CMAKE_BINARY_DIR}/doc/html/ -mindepth 1 -maxdepth 1 -not -name cppguide -exec rm -rf {} +
COMMAND rm -rf ${CMAKE_BINARY_DIR}/doc/xml
COMMAND ${DOXYGEN_EXECUTABLE} ${PROJECT_BINARY_DIR}/Doxyfile
SOURCES ${PROJECT_BINARY_DIR}/Doxyfile
Expand Down

0 comments on commit 0489253

Please sign in to comment.