From 3b691d5d6e9e4f90cac806cccc151637f13c4ad5 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 10 Oct 2013 11:44:29 -0700 Subject: 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 --- subsurface-install.pri | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'subsurface-install.pri') 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 -- cgit v1.2.3-70-g09d2