diff options
-rw-r--r-- | subsurface-install.pri | 11 |
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) { |