[PATCH v2] Link to marbledata when building out of tree
Anton Lundin
glance at acc.umu.se
Tue Mar 18 10:59:45 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..98f23b7 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 || $(COPY_DIR) $$PWD/marbledata $$OUT_PWD
+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