|
@ -102,25 +102,25 @@ add_custom_command(OUTPUT ${PROJECT_BINARY_DIR}/doc/supernode.1.gz |
|
|
DEPENDS ${PROJECT_SOURCE_DIR}/supernode.1 |
|
|
DEPENDS ${PROJECT_SOURCE_DIR}/supernode.1 |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
add_custom_command(OUTPUT ${PROJECT_BINARY_DIR}/doc/n2n_v2.7.gz |
|
|
add_custom_command(OUTPUT ${PROJECT_BINARY_DIR}/doc/n2n.7.gz |
|
|
COMMAND gzip -c ${PROJECT_SOURCE_DIR}/n2n_v2.7 > ${PROJECT_BINARY_DIR}/doc/n2n_v2.7.gz |
|
|
COMMAND gzip -c ${PROJECT_SOURCE_DIR}/n2n.7 > ${PROJECT_BINARY_DIR}/doc/n2n.7.gz |
|
|
DEPENDS ${PROJECT_SOURCE_DIR}/n2n_v2.7 |
|
|
DEPENDS ${PROJECT_SOURCE_DIR}/n2n.7 |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
add_custom_target(doc DEPENDS ${PROJECT_BINARY_DIR}/doc/edge.8.gz |
|
|
add_custom_target(doc DEPENDS ${PROJECT_BINARY_DIR}/doc/edge.8.gz |
|
|
${PROJECT_BINARY_DIR}/doc/supernode.1.gz |
|
|
${PROJECT_BINARY_DIR}/doc/supernode.1.gz |
|
|
${PROJECT_BINARY_DIR}/doc/n2n_v2.7.gz |
|
|
${PROJECT_BINARY_DIR}/doc/n2n.7.gz |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
set_source_files_properties(${PROJECT_BINARY_DIR}/doc/edge.8.gz |
|
|
set_source_files_properties(${PROJECT_BINARY_DIR}/doc/edge.8.gz |
|
|
${PROJECT_BINARY_DIR}/doc/supernode.1.gz |
|
|
${PROJECT_BINARY_DIR}/doc/supernode.1.gz |
|
|
${PROJECT_BINARY_DIR}/doc/n2n_v2.7.gz |
|
|
${PROJECT_BINARY_DIR}/doc/n2n.7.gz |
|
|
PROPERTIES GENERATED 1) |
|
|
PROPERTIES GENERATED 1) |
|
|
|
|
|
|
|
|
install(FILES ${PROJECT_BINARY_DIR}/doc/edge.8.gz |
|
|
install(FILES ${PROJECT_BINARY_DIR}/doc/edge.8.gz |
|
|
DESTINATION /usr/share/man8) |
|
|
DESTINATION /usr/share/man8) |
|
|
install(FILES ${PROJECT_BINARY_DIR}/doc/supernode.1.gz |
|
|
install(FILES ${PROJECT_BINARY_DIR}/doc/supernode.1.gz |
|
|
DESTINATION /usr/share/man1) |
|
|
DESTINATION /usr/share/man1) |
|
|
install(FILES ${PROJECT_BINARY_DIR}/doc/n2n_v2.7.gz |
|
|
install(FILES ${PROJECT_BINARY_DIR}/doc/n2n.7.gz |
|
|
DESTINATION /usr/share/man7) |
|
|
DESTINATION /usr/share/man7) |
|
|
endif(DEFINED UNIX) |
|
|
endif(DEFINED UNIX) |
|
|