mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-01 06:30:26 +00:00
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:
parent
51f66a2d15
commit
dbab619489
1 changed files with 2 additions and 7 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue