From dbab619489eed1ffea830c073210ccfbf9382123 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Thu, 5 Dec 2013 16:01:10 -0800 Subject: 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 Signed-off-by: Dirk Hohndel --- subsurface-install.pri | 11 +++-------- 1 file 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) { -- cgit v1.2.3-70-g09d2