File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -39,14 +39,9 @@ else()
39
39
endif ()
40
40
#Generate manpage
41
41
if (NOT ${CMAKE_SYSTEM_NAME} STREQUAL "Windows" )
42
- configure_file ("${CMAKE_SOURCE_DIR} /doc/manpage.in" "${CMAKE_BINARY_DIR} /manpage" @ONLY )
43
- add_custom_command (OUTPUT jsonrpcstub.1.gz
44
- COMMAND gzip -c "${CMAKE_BINARY_DIR} /manpage" > ${CMAKE_BINARY_DIR} /jsonrpcstub.1.gz
45
- COMMENT "Generating man pages"
46
- VERBATIM
47
- )
48
- add_custom_target (manpage ALL DEPENDS jsonrpcstub.1.gz )
49
- install (FILES ${CMAKE_BINARY_DIR} /jsonrpcstub.1.gz DESTINATION share/man/man1/ )
42
+ configure_file ("${CMAKE_SOURCE_DIR} /doc/manpage.in" "${CMAKE_BINARY_DIR} /jsonrpcstub.1" @ONLY )
43
+ add_custom_target (manpage ALL DEPENDS ${CMAKE_BINARY_DIR} /jsonrpcstub.1 )
44
+ install (FILES ${CMAKE_BINARY_DIR} /jsonrpcstub.1 DESTINATION ${CMAKE_INSTALL_MANDIR} /man1/ )
50
45
add_dependencies (jsonrpcstub manpage )
51
46
endif ()
52
47
You can’t perform that action at this time.
0 commit comments