diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2016-12-17 00:18:39 +0100 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2016-12-17 00:18:39 +0100 |
| commit | e3f827181b5e88998e40d9aa1dd9d647ef877b63 (patch) | |
| tree | 8b8c75883ff27ef31588b886f4813177bab80ab2 /CMake | |
| parent | 7b2a94efb4478167c33927024497fd3a3a824266 (diff) | |
Use CMAKE_INSTALL_FULL_DATA{,ROOT}DIR
Exherbo installs architecture dependent data in a different place than architecture
independent data. More concretely: binaries go in /usr/$chost/{bin,lib},
data goes in /usr/share and configs in /etc, /etc is already configurable
through CMAKE_INSTALL_FULL_SYSCONFDIR but the datadir was not. This
patch fixes it so that things can be pushed in the right places.
Diffstat (limited to 'CMake')
| -rw-r--r-- | CMake/Manpage.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMake/Manpage.cmake b/CMake/Manpage.cmake index e5503760..d9780bc4 100644 --- a/CMake/Manpage.cmake +++ b/CMake/Manpage.cmake @@ -25,7 +25,7 @@ function(add_manpage name section) install( FILES ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${name}.${section} - DESTINATION share/man/man${section} + DESTINATION ${CMAKE_INSTALL_FULL_DATAROOTDIR}/man/man${section} COMPONENT documentation ) endfunction() |
