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.
This commit is contained in:
Wouter van Kesteren 2016-12-17 00:18:39 +01:00
parent 6c0fc20936
commit 09b9106550
5 changed files with 7 additions and 7 deletions

View file

@ -20,8 +20,8 @@ set $menu dmenu_run
### Output configuration
#
# Default wallpaper (more resolutions are available in /usr/share/sway/)
output * bg /usr/share/sway/Sway_Wallpaper_Blue_1920x1080.png fill
# Default wallpaper (more resolutions are available in __DATADIR__/sway/)
output * bg __DATADIR__/sway/Sway_Wallpaper_Blue_1920x1080.png fill
#
# Example configuration:
#