aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@gmail.com>2017-11-23 17:22:58 +0100
committerAndreas Müller <schnitzeltony@gmail.com>2017-11-23 17:54:44 +0100
commit0f2302e6e527d951776386b585901443249f6ead (patch)
treece2aba7baa3e4fa967930657038ffa2f4d4e1c0f /src-qt5/core
parentRevert "Update README.md" (diff)
downloadlumina-0f2302e6e527d951776386b585901443249f6ead.tar.gz
lumina-0f2302e6e527d951776386b585901443249f6ead.tar.bz2
lumina-0f2302e6e527d951776386b585901443249f6ead.zip
lumina-desktop.pro: fix out of tree installation
Fixes: | cp: cannot stat 'defaults/desktop-background.jpg': No such file or directory Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Diffstat (limited to 'src-qt5/core')
-rw-r--r--src-qt5/core/lumina-desktop/lumina-desktop.pro12
1 files changed, 6 insertions, 6 deletions
diff --git a/src-qt5/core/lumina-desktop/lumina-desktop.pro b/src-qt5/core/lumina-desktop/lumina-desktop.pro
index 82da892c..9c8272c8 100644
--- a/src-qt5/core/lumina-desktop/lumina-desktop.pro
+++ b/src-qt5/core/lumina-desktop/lumina-desktop.pro
@@ -92,17 +92,17 @@ conf.path = $${L_ETCDIR}
message("Installing defaults settings for OS: $${DEFAULT_SETTINGS}")
OS=$${DEFAULT_SETTINGS}
}
-exists("defaults/luminaDesktop-$${OS}.conf"){
+exists("$$PWD/defaults/luminaDesktop-$${OS}.conf"){
message(" -- Found OS-specific system config file: $${OS}");
- conf.extra = cp defaults/luminaDesktop-$${OS}.conf $(INSTALL_ROOT)$${L_ETCDIR}/luminaDesktop.conf.dist
+ conf.extra = cp $$PWD/defaults/luminaDesktop-$${OS}.conf $(INSTALL_ROOT)$${L_ETCDIR}/luminaDesktop.conf.dist
}else{
- conf.extra = cp defaults/luminaDesktop.conf $(INSTALL_ROOT)$${L_ETCDIR}/luminaDesktop.conf.dist
+ conf.extra = cp $$PWD/defaults/luminaDesktop.conf $(INSTALL_ROOT)$${L_ETCDIR}/luminaDesktop.conf.dist
}
-exists("defaults/desktop-background-$${OS}.jpg"){
+exists("$$PWD/defaults/desktop-background-$${OS}.jpg"){
message(" -- Found OS-specific background image: $${OS}");
- defaults.extra = cp defaults/desktop-background-$${OS}.jpg $(INSTALL_ROOT)$${L_SHAREDIR}/lumina-desktop/desktop-background.jpg
+ defaults.extra = cp $$PWD/defaults/desktop-background-$${OS}.jpg $(INSTALL_ROOT)$${L_SHAREDIR}/lumina-desktop/desktop-background.jpg
}else{
- defaults.extra = cp defaults/desktop-background.jpg $(INSTALL_ROOT)$${L_SHAREDIR}/lumina-desktop/desktop-background.jpg
+ defaults.extra = cp $$PWD/defaults/desktop-background.jpg $(INSTALL_ROOT)$${L_SHAREDIR}/lumina-desktop/desktop-background.jpg
}
TRANSLATIONS = i18n/lumina-desktop_af.ts \
bgstack15