Skip to content

Commit

Permalink
Add manpage for exrmetrics (#1884)
Browse files Browse the repository at this point in the history
Also, remove the `if(INSTALL_DOCS)` conditional in
docs/CMakeLists.txt, since that file is included only if
`OPENEXR_INSTALL_DOCS` is set.

Signed-off-by: Cary Phillips <cary@ilm.com>
  • Loading branch information
cary-ilm authored Oct 14, 2024
1 parent 101d7b0 commit bfbb035
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions docs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,20 +42,17 @@ define_manpage(exrinfo "print exr image header metadata")
define_manpage(exrmakepreview "generate exr preview thumbnail images")
define_manpage(exrmaketiled "convert exr images to tiled format")
define_manpage(exrmanifest "print id manifest")
define_manpage(exrmetrics "report read/write time")
define_manpage(exrmultipart "combine or split multipart exr images")
define_manpage(exrmultiview "convert between single/multi-view exr images")
define_manpage(exrstdattr "set exr image metadata")

add_custom_target(docs ALL DEPENDS
${manpage_files})
add_custom_target(docs ALL DEPENDS ${manpage_files})

# Add a target to install the manpages

if(INSTALL_DOCS)
include(GNUInstallDirs)
install(DIRECTORY ${MANPAGE_OUTPUT_DIR}/man1 DESTINATION ${CMAKE_INSTALL_MANDIR})
endif()
include(GNUInstallDirs)
install(DIRECTORY ${MANPAGE_OUTPUT_DIR}/man1 DESTINATION ${CMAKE_INSTALL_MANDIR})

# build the example code to verify that it compiles


0 comments on commit bfbb035

Please sign in to comment.