[PATCH 1/3] Install Subsurface translation files on Linux
Thiago Macieira
thiago at macieira.org
Thu Dec 5 16:01:10 UTC 2013
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 at macieira.org>
---
subsurface-install.pri | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/subsurface-install.pri b/subsurface-install.pri
index b79cdd4..c244520 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) {
--
1.7.11.7
More information about the subsurface
mailing list