[PATCH] Link to marbledata when building out of tree

Anton Lundin glance at acc.umu.se
Tue Mar 18 08:51:38 PDT 2014


When building and running subsurface out of tree, marbledata was
inaccessible to subsurface.

Signed-off-by: Anton Lundin <glance at acc.umu.se>
---
 subsurface.pro | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/subsurface.pro b/subsurface.pro
index 988161f..4cca263 100644
--- a/subsurface.pro
+++ b/subsurface.pro
@@ -208,6 +208,10 @@ doc.commands += $(CHK_DIR_EXISTS) $$OUT_PWD/Documentation || $(MKDIR) $$OUT_PWD/
 all.depends += doc
 QMAKE_EXTRA_TARGETS += doc all
 
+marbledata.commands += $(CHK_DIR_EXISTS) $$OUT_PWD/marbledata || ln -s $$PWD/marbledata $$OUT_PWD/marbledata
+all.depends += marbledata
+QMAKE_EXTRA_TARGETS += marbledata
+
 DESKTOP_FILE = subsurface.desktop
 mac: ICON = packaging/macosx/Subsurface.icns
 else: ICON = subsurface-icon.svg
-- 
1.8.3.2



More information about the subsurface mailing list