diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-10-10 11:44:29 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-10-10 12:42:37 -0700 |
commit | 3b691d5d6e9e4f90cac806cccc151637f13c4ad5 (patch) | |
tree | 3f357c95ad34cc748af548454afeff2efeec7b2e | |
parent | 44e43356e241c102f4edf9e3a42dede8b548177a (diff) | |
download | subsurface-3b691d5d6e9e4f90cac806cccc151637f13c4ad5.tar.gz |
Fix some paths for Mac and add translations to bundle
'share' is under Subsurface.app - you don't need a 'subsurface' directory
under 'share'.
This also installs the processed translations.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | subsurface-install.pri | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/subsurface-install.pri b/subsurface-install.pri index 387478197..b630b605c 100644 --- a/subsurface-install.pri +++ b/subsurface-install.pri @@ -1,6 +1,7 @@ marbledir.files = $$MARBLEDIR xslt.files = $$XSLT_FILES doc.files = $$DOC_FILES +translation.files = $$replace(TRANSLATIONS, .ts, .qm) nltab = $$escape_expand(\\n\\t) @@ -16,12 +17,13 @@ mac { INSTALLS += mac_bundle install.depends += mac-deploy - datadir = Contents/Resources/share/subsurface + datadir = Contents/Resources/share marbledir.path = Contents/Resources/data xslt.path = $$datadir - doc.path = Contents/Resources/share/doc/subsurface + doc.path = $$datadir/doc + translation.path = Contents/Resources/translations doc.files = $$files($$doc.files) - QMAKE_BUNDLE_DATA += marbledir xslt doc + QMAKE_BUNDLE_DATA += marbledir xslt doc translation mac_deploy.target = mac-deploy mac_deploy.commands += $$[QT_INSTALL_BINS]/macdeployqt $${TARGET}.app |