mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
44e43356e2
commit
3b691d5d6e
1 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue