File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -236,7 +236,7 @@ endif()
236
236
237
237
if (BUILD_MANPAGE )
238
238
configure_file ("assets/manpage/${APP_NAME} .md.in" "${CMAKE_CURRENT_BINARY_DIR} /${APP_NAME} .md" @ONLY )
239
- build_manpage ("${CMAKE_CURRENT_BINARY_DIR} /${APP_NAME} .md" "${CMAKE_CURRENT_BINARY_DIR} /${APP_NAME} .1" )
239
+ pandoc_build_manpage ("${CMAKE_CURRENT_BINARY_DIR} /${APP_NAME} .md" "${CMAKE_CURRENT_BINARY_DIR} /${APP_NAME} .1" )
240
240
add_custom_target (${MAN_NAME} ALL DEPENDS "${CMAKE_CURRENT_BINARY_DIR} /${APP_NAME} .1" )
241
241
install (FILES "${CMAKE_CURRENT_BINARY_DIR} /${APP_NAME} .1" DESTINATION "${CMAKE_INSTALL_MANDIR} /man1" )
242
242
endif ()
Original file line number Diff line number Diff line change @@ -13,13 +13,13 @@ if (BUILD_MANPAGE)
13
13
)
14
14
mark_as_advanced (Pandoc_EXECUTABLE )
15
15
16
- function (build_manpage SrcName DestName )
16
+ function (pandoc_build_manpage SrcName DestName )
17
17
add_custom_command (
18
18
OUTPUT "${DestName} "
19
19
COMMAND "${Pandoc_EXECUTABLE} "
20
20
ARGS "${SrcName} " -s -t man -o "${DestName} "
21
21
DEPENDS "${SrcName} "
22
- COMMENT "Building the ${DestName} manpage using Pandoc."
22
+ COMMENT "Building the manpage using Pandoc."
23
23
VERBATIM
24
24
)
25
25
endfunction ()
You can’t perform that action at this time.
0 commit comments