Skip to content

Commit f10c379

Browse files
committed
let the toplevel build tell us where to put scl man pages
1 parent 8bdec98 commit f10c379

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

doc/CMakeLists.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ SET(scl_MANS
44
man/man1/fedex_plus.1
55
man/man1/mkProbe.1
66
)
7+
8+
if(NOT DEFINED MAN_DIR)
9+
set(MAN_DIR share/man)
10+
endif(NOT DEFINED MAN_DIR)
11+
712
IF(NOT WIN32)
8-
INSTALL(FILES ${scl_MANS} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/man/man1)
13+
INSTALL(FILES ${scl_MANS} DESTINATION ${CMAKE_INSTALL_PREFIX}/${MAN_DIR}/man1)
914
ENDIF(NOT WIN32)

0 commit comments

Comments
 (0)