Skip to content
Snippets Groups Projects
Commit c0466561 authored by Filippo Rusconi's avatar Filippo Rusconi
Browse files

Fix error in the manpage file name.

parent 5b44e0cc
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@ if(UNIX AND NOT APPLE)
message(STATUS "Going to generate the man pages.")
execute_process(COMMAND docbook-to-man xtpcpp.xml
OUTPUT_FILE ${CMAKE_BINARY_DIR}/xtpcpp
OUTPUT_FILE ${CMAKE_BINARY_DIR}/xtpcpp.1
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
endif(UNIX AND NOT APPLE)
......@@ -23,8 +23,8 @@ message("Installing the doc files in ${DOC_DIR}")
# The man page.
if(UNIX AND NOT APPLE)
install(FILES ${CMAKE_BINARY_DIR}/xtpcpp
${CMAKE_BINARY_DIR}/xtpcpp
install(FILES ${CMAKE_BINARY_DIR}/xtpcpp.1
${CMAKE_BINARY_DIR}/xtpcpp.1
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man1)
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment