Import option handler from ponymap

This commit is contained in:
2015-02-11 02:07:52 +01:00
parent 59b1c5c056
commit cd1a55a0d1
4 changed files with 216 additions and 98 deletions

View File

@@ -69,7 +69,7 @@ foreach (page zyklonb kike)
set (page_output "${PROJECT_BINARY_DIR}/${page}.1")
list (APPEND project_MAN_PAGES "${page_output}")
add_custom_command (OUTPUT ${page_output}
COMMAND ${HELP2MAN_EXECUTABLE} -N --no-discard-stderr # FIXME
COMMAND ${HELP2MAN_EXECUTABLE} -N
"${PROJECT_BINARY_DIR}/${page}" -o ${page_output}
DEPENDS ${page}
COMMENT "Generating man page for ${page}" VERBATIM)