mirror of
https://github.com/curl/curl.git
synced 2025-01-18 14:04:30 +08:00
parent
e17b89db8f
commit
fe290cbadd
@ -31,4 +31,7 @@ add_custom_command(OUTPUT "${MANPAGE}"
|
||||
COMMAND cd ${CMAKE_CURRENT_SOURCE_DIR} && "${PERL_EXECUTABLE}" "./gen.pl" mainpage ${DPAGES} > "${MANPAGE}"
|
||||
VERBATIM
|
||||
)
|
||||
add_custom_target(generate-curl.1 DEPENDS "${MANPAGE}")
|
||||
add_custom_target(generate-curl.1 ALL DEPENDS "${MANPAGE}")
|
||||
if(NOT CURL_DISABLE_INSTALL)
|
||||
install(FILES "${MANPAGE}" DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user