summaryrefslogtreecommitdiffstats
path: root/subsurface-install.pri
diff options
context:
space:
mode:
authorGravatar Thiago Macieira <thiago@macieira.org>2013-12-05 16:01:10 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-12-05 20:09:24 -0800
commitdbab619489eed1ffea830c073210ccfbf9382123 (patch)
tree3617700fd280dea6b931e8ffd0f62cfd025b5b8c /subsurface-install.pri
parent51f66a2d15e68685cc84d7596f312b78615f543d (diff)
downloadsubsurface-dbab619489eed1ffea830c073210ccfbf9382123.tar.gz
Install Subsurface translation files on Linux
This was the easiest: all the file names are already in a variable and we don't need to install the Qt translations since we're using a system Qt. Signed-off-by: Thiago Macieira <thiago@macieira.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-install.pri')
-rw-r--r--subsurface-install.pri11
1 files changed, 3 insertions, 8 deletions
diff --git a/subsurface-install.pri b/subsurface-install.pri
index b79cdd496..c244520f5 100644
--- a/subsurface-install.pri
+++ b/subsurface-install.pri
@@ -147,14 +147,9 @@ XSLTDIR = $(DATADIR)/subsurface
doc.CONFIG += no_check_exist
- # FIXME: Linguist translations
- #l10n_install.commands = for LOC in $$files(share/locale/*/LC_MESSAGES); do \
- # $(INSTALL_PROGRAM) -d $(INSTALL_ROOT)/$(prefix)/$$LOC; \
- # $(INSTALL_FILE) $$LOC/subsurface.mo $(INSTALL_ROOT)/$(prefix)/$$LOC/subsurface.mo; \
- #done
- #install.depends += l10n_install
-
- INSTALLS += target desktop icon manpage xslt doc marbledir
+ translation.path = /$(DATADIR)/subsurface/translations
+
+ INSTALLS += target desktop icon manpage xslt doc marbledir translation
install.target = install
}
!isEmpty(TRANSLATIONS) {