From 1768b08dc0e6433c7b42062103c104f42accdf06 Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Tue, 18 Mar 2014 18:59:45 +0100 Subject: 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 Signed-off-by: Dirk Hohndel --- subsurface.pro | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3-70-g09d2