summaryrefslogtreecommitdiffstats
path: root/subsurface-install.pri
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-install.pri
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-install.pri')
-rw-r--r--subsurface-install.pri4
1 files changed, 3 insertions, 1 deletions
diff --git a/subsurface-install.pri b/subsurface-install.pri
index c53f91123..f4e0e96a5 100644
--- a/subsurface-install.pri
+++ b/subsurface-install.pri
@@ -1,5 +1,6 @@
marbledir.files = $$MARBLEDIR
doc.files = $$DOC_FILES
+theme.files = $$THEME_FILES
translation.files = $$replace(TRANSLATIONS, .ts, .qm)
exists($$[QT_INSTALL_TRANSLATIONS]) {
qt_translation_dir = $$[QT_INSTALL_TRANSLATIONS]
@@ -160,13 +161,14 @@ mac {
marbledir.path = /$(EXPORT_DATADIR)/subsurface/data
doc.path = /$(EXPORT_DOCDIR)
+ theme.path = /$(EXPORT_DATADIR)/subsurface
doc.CONFIG += no_check_exist
translation.path = /$(EXPORT_DATADIR)/subsurface/translations
translation.CONFIG += no_check_exist
- INSTALLS += target desktop manpage doc marbledir translation icon
+ INSTALLS += target desktop manpage doc marbledir translation icon theme
install.target = install
}
!isEmpty(TRANSLATIONS) {