- ${CMAKE_COMMAND} -E make_directory
- "${CMAKE_INSTALL_PREFIX}/share/man/man1/"
- COMMAND ${CMAKE_COMMAND} -E copy
- ${DOC_OUTPUT_PATH}/man/am7xxx-play.1
- "${CMAKE_INSTALL_PREFIX}/share/man/man1/"
- COMMAND ${CMAKE_COMMAND} -E copy
- ${DOC_OUTPUT_PATH}/man/picoproj.1
- "${CMAKE_INSTALL_PREFIX}/share/man/man1/"
- )
+ COMMAND ${CMAKE_COMMAND} -DCOMPONENT=manpages -P ${CMAKE_BINARY_DIR}/cmake_install.cmake
+ COMMENT "Installing manpages")