let the toplevel build tell us where to put scl man pages

This commit is contained in:
Cliff Yapp 2012-04-01 04:47:38 +00:00
parent 8bdec9821f
commit f10c37964c

View file

@ -4,6 +4,11 @@ SET(scl_MANS
man/man1/fedex_plus.1
man/man1/mkProbe.1
)
if(NOT DEFINED MAN_DIR)
set(MAN_DIR share/man)
endif(NOT DEFINED MAN_DIR)
IF(NOT WIN32)
INSTALL(FILES ${scl_MANS} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man1)
INSTALL(FILES ${scl_MANS} DESTINATION ${CMAKE_INSTALL_PREFIX}/${MAN_DIR}/man1)
ENDIF(NOT WIN32)