1# Headers and Man Pages installation target 2IF (CARES_INSTALL) 3 # ManPages 4 FILE (GLOB DevelManPages "." "*.3") 5 INSTALL (FILES ${DevelManPages} 6 DESTINATION ${CMAKE_INSTALL_MANDIR}/man3 7 COMPONENT Devel 8 ) 9 10 IF (CARES_BUILD_TOOLS) 11 FILE (GLOB ToolManPages "." "*.1") 12 INSTALL (FILES ${ToolManPages} 13 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1 14 COMPONENT Tools 15 ) 16 ENDIF () 17ENDIF () 18