diff options
author | Sander Vrijders <[email protected]> | 2018-02-06 17:17:28 +0100 |
---|---|---|
committer | Dimitri Staessens <[email protected]> | 2018-02-06 18:27:38 +0100 |
commit | 544ad6f9759de6acc109307caee2100478cba8ed (patch) | |
tree | eec4c0c26142f945f9540ed6e37f6e26173e3672 /doc | |
parent | c80de3a96b4d91b1202d9ebebab11f6ff0af2045 (diff) | |
download | ouroboros-544ad6f9759de6acc109307caee2100478cba8ed.tar.gz ouroboros-544ad6f9759de6acc109307caee2100478cba8ed.zip |
build: Use GNUInstallDirs instead of hardcoded values0.9.9
This changes the build to use GNUInstallDirs instead of hardcoded
values. Package maintainers can then override these defaults by
passing the correct value to cmake on the command line.
Signed-off-by: Sander Vrijders <[email protected]>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/man/CMakeLists.txt b/doc/man/CMakeLists.txt index e1d5c04a..add68d62 100644 --- a/doc/man/CMakeLists.txt +++ b/doc/man/CMakeLists.txt @@ -28,7 +28,7 @@ set(MAN_NAMES macro(INSTALL_MAN __mans) foreach (_man ${ARGV}) string(REGEX REPLACE "^.+[.]([1-9]).gz" "\\1" _mansect ${_man}) - install(FILES ${_man} DESTINATION "usr/share/man/man${_mansect}") + install(FILES ${_man} DESTINATION "${CMAKE_INSTALL_MANDIR}/man${_mansect}") endforeach (_man) endmacro(INSTALL_MAN __mans) |