summaryrefslogtreecommitdiffstats
path: root/subsurface.pro
diff options
context:
space:
mode:
authorGravatar Gehad elrobey <gehadelrobey@gmail.com>2014-06-01 07:48:26 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-03 21:08:48 -0700
commit99d886f57f56e4b9c39d92a88b08cb7e2c299865 (patch)
treedf90ecac4516bb5aec18a71e5e7eb81493ef5779 /subsurface.pro
parentd8c46fbdb68341bd308bc48e9c3c1be7fbb70f92 (diff)
downloadsubsurface-99d886f57f56e4b9c39d92a88b08cb7e2c299865.tar.gz
Update install script: copy HTML theme directory to usr/share
Updating the qmake file to check and copy the theme directory under usr/share. THIS needs to work on windows and mac. Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface.pro')
-rw-r--r--subsurface.pro5
1 files changed, 5 insertions, 0 deletions
diff --git a/subsurface.pro b/subsurface.pro
index a0891f4d7..53decf8f6 100644
--- a/subsurface.pro
+++ b/subsurface.pro
@@ -244,6 +244,10 @@ marbledata.commands += $(CHK_DIR_EXISTS) $$OUT_PWD/marbledata || $(COPY_DIR) $$P
all.depends += marbledata
QMAKE_EXTRA_TARGETS += marbledata
+theme.commands += $(CHK_DIR_EXISTS) $$OUT_PWD/theme || $(COPY_DIR) $$PWD/theme $$OUT_PWD
+all.depends += theme
+QMAKE_EXTRA_TARGETS += theme
+
DESKTOP_FILE = subsurface.desktop
mac: ICON = packaging/macosx/Subsurface.icns
else: ICON = subsurface-icon.svg
@@ -251,6 +255,7 @@ MANPAGE = subsurface.1
XSLT_FILES = xslt
ICONS_FILES = icons
DOC_FILES = $$OUT_PWD/Documentation/user-manual.html Documentation/images
+THEME_FILES = $$OUT_PWD/theme
MARBLEDIR = marbledata/maps marbledata/bitmaps
#DEPLOYMENT_PLUGIN += bearer/qnativewifibearer