mirror of
https://github.com/curl/curl.git
synced 2026-07-24 02:47:17 +03:00
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:
parent
15fb1dc7f8
commit
fbe408ccd7
2 changed files with 1 additions and 8 deletions
|
|
@ -2494,13 +2494,6 @@ if(NOT CURL_DISABLE_INSTALL)
|
|||
COMMAND ${CMAKE_COMMAND} -P "${CMAKE_CURRENT_BINARY_DIR}/CMake/cmake_uninstall.cmake")
|
||||
endif()
|
||||
|
||||
install(FILES "${PROJECT_SOURCE_DIR}/scripts/mk-ca-bundle.pl"
|
||||
DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
PERMISSIONS
|
||||
OWNER_READ OWNER_WRITE OWNER_EXECUTE
|
||||
GROUP_READ GROUP_EXECUTE
|
||||
WORLD_READ WORLD_EXECUTE)
|
||||
|
||||
# The `-DEV` part is important
|
||||
string(REGEX REPLACE "([0-9]+\.[0-9]+)\.([0-9]+.*)" "\\2" CPACK_PACKAGE_VERSION_PATCH "${_curl_version}")
|
||||
set(CPACK_GENERATOR "TGZ")
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue