From: Viktor Szakats Date: Thu, 4 Apr 2024 19:33:49 +0000 (+0000) Subject: cmake: fixup `DEPENDS` filename X-Git-Tag: curl-8_8_0~299 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2cac6a49b3d8b57d77f08f94b023ced211c70d55;p=thirdparty%2Fcurl.git cmake: fixup `DEPENDS` filename Fixing: ``` make[2]: Circular docs/curl-config.1 <- docs/curl-config.1 dependency dropped. make[2]: Circular docs/mk-ca-bundle.1 <- docs/mk-ca-bundle.1 dependency dropped. ``` Ref: https://github.com/curl/curl/actions/runs/8559617487/job/23456740844?pr=13282#step:6:18 Follow-up to 5023ffad2c27d4b916ddb91800f99ecc5d3aad07 #13197 Closes #13283 --- diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt index 82c1197bf5..19fff9b84a 100644 --- a/docs/CMakeLists.txt +++ b/docs/CMakeLists.txt @@ -35,7 +35,7 @@ if(BUILD_MISC_DOCS) add_custom_command(OUTPUT "${_man_target}" WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} COMMAND "${PERL_EXECUTABLE}" ${PROJECT_SOURCE_DIR}/scripts/cd2nroff "${_man_misc}.md" > "${_man_target}" - DEPENDS ${_man_target} + DEPENDS "${_man_misc}.md" VERBATIM ) add_custom_target("generate-${_man_misc}.1" ALL DEPENDS "${_man_target}")