summaryrefslogtreecommitdiffstats
path: root/subsurface.pro
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2014-03-18 18:59:45 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-03-18 11:58:29 -0700
commit1768b08dc0e6433c7b42062103c104f42accdf06 (patch)
treeaf02610617971b9c7d98e9d946f18315ce0e9f7c /subsurface.pro
parent6d6721dc9b622fda17b0c2c08e7d646b7e2044e1 (diff)
downloadsubsurface-1768b08dc0e6433c7b42062103c104f42accdf06.tar.gz
Link to marbledata when building out of tree
When building and running subsurface out of tree, marbledata was inaccessible to subsurface. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface.pro')
-rw-r--r--subsurface.pro4
1 files changed, 4 insertions, 0 deletions
diff --git a/subsurface.pro b/subsurface.pro
index 988161ffb..98f23b799 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