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>
This commit is contained in:
Thiago Macieira 2013-12-05 16:01:10 -08:00 committed by Dirk Hohndel
parent 51f66a2d15
commit dbab619489

View file

@ -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
translation.path = /$(DATADIR)/subsurface/translations
INSTALLS += target desktop icon manpage xslt doc marbledir
INSTALLS += target desktop icon manpage xslt doc marbledir translation
install.target = install
}
!isEmpty(TRANSLATIONS) {