cmake: do not install mk-ca-bundle script and manpage

To sync with autotools builds.

Reported-by: Daniel Stenberg
Bug: https://github.com/curl/curl/pull/17035#pullrequestreview-2769964979
Follow-up to 5023ffad2c #13197

Closes #17068
This commit is contained in:
Viktor Szakats 2025-04-16 01:26:53 +02:00
parent 15fb1dc7f8
commit fbe408ccd7
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
2 changed files with 1 additions and 8 deletions

View file

@ -39,7 +39,7 @@ if(BUILD_MISC_DOCS)
VERBATIM
)
add_custom_target("curl-generate-${_man_misc}.1" ALL DEPENDS "${_man_target}")
if(NOT CURL_DISABLE_INSTALL)
if(NOT CURL_DISABLE_INSTALL AND NOT _man_misc STREQUAL "mk-ca-bundle")
install(FILES "${_man_target}" DESTINATION "${CMAKE_INSTALL_MANDIR}/man1")
endif()
endforeach()