Install man pages
This commit is contained in:
parent
4c9a60d4fd
commit
87cb9efb99
|
@ -95,6 +95,10 @@ IF(NOT OPENJPEG_INSTALL_INCLUDE_DIR)
|
|||
SET(OPENJPEG_INSTALL_INCLUDE_DIR "include/${subdir}")
|
||||
ENDIF(NOT OPENJPEG_INSTALL_INCLUDE_DIR)
|
||||
|
||||
IF(NOT OPENJPEG_INSTALL_MAN_DIR)
|
||||
SET(OPENJPEG_INSTALL_MAN_DIR "share/man/")
|
||||
ENDIF(NOT OPENJPEG_INSTALL_MAN_DIR)
|
||||
|
||||
IF(NOT OPENJPEG_INSTALL_DOC_DIR)
|
||||
SET(OPENJPEG_INSTALL_DOC_DIR "share/doc/${subdir}")
|
||||
ENDIF(NOT OPENJPEG_INSTALL_DOC_DIR)
|
||||
|
|
|
@ -12,3 +12,12 @@ ADD_CUSTOM_TARGET(doxygen
|
|||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
ENDIF(DOXYGEN_EXECUTABLE)
|
||||
|
||||
INSTALL(
|
||||
FILES man/man1/image_to_j2k.1
|
||||
man/man1/j2k_dump.1
|
||||
man/man1/j2k_to_image.1
|
||||
DESTINATION ${OPENJPEG_INSTALL_MAN_DIR}/man1)
|
||||
INSTALL(
|
||||
FILES man/man3/libopenjpeg.3
|
||||
DESTINATION ${OPENJPEG_INSTALL_MAN_DIR}/man3)
|
||||
|
|
Loading…
Reference in New Issue