let the toplevel build tell us where to put scl man pages
This commit is contained in:
parent
8bdec9821f
commit
f10c37964c
1 changed files with 6 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue