diff options
author | Michael Schroeder <mls@suse.de> | 2013-06-10 13:53:54 +0200 |
---|---|---|
committer | Michael Schroeder <mls@suse.de> | 2013-06-10 13:53:54 +0200 |
commit | 4deb3d868bc369322b2b9f3c8e5f7ba0df75e3c0 (patch) | |
tree | 1fa72c7d90aa3e6392b8f6b5aa5cf809db29700b /CMakeLists.txt | |
parent | 3e2582ab084ebfef8fc7bdaa2c38c032dd150d3f (diff) | |
download | libsolv-4deb3d868bc369322b2b9f3c8e5f7ba0df75e3c0.tar.gz libsolv-4deb3d868bc369322b2b9f3c8e5f7ba0df75e3c0.tar.bz2 libsolv-4deb3d868bc369322b2b9f3c8e5f7ba0df75e3c0.zip |
try share/man
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 042b018..33121ac 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -47,6 +47,9 @@ ENDIF (DEFINED LIB) MESSAGE (STATUS "Libraries will be installed in ${LIB_INSTALL_DIR}") SET (BIN_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/bin") SET (MAN_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/man") +IF (IS_DIRECTORY("${CMAKE_INSTALL_PREFIX}/share/man") AND NOT IS_DIRECTORY("${CMAKE_INSTALL_PREFIX}/man")) + SET (MAN_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/share/man") +ENDIF (IS_DIRECTORY("${CMAKE_INSTALL_PREFIX}/share/man") AND NOT IS_DIRECTORY("${CMAKE_INSTALL_PREFIX}/man")) #################################################################### # CONFIGURATION # |