Fix translation update path for external plugins

This commit is contained in:
Simon Stürz 2018-06-14 08:07:40 +02:00 committed by Michael Zanetti
parent bfdc45472d
commit 5f226df930

View File

@ -1,4 +1,5 @@
# Copyright (C) 2018 Michael Zanetti <michael.zanetti@guh.io>
# Copyright (C) 2018 Simon Stürz <simon.stuerz@guh.io>
#
# This file is part of nymea.
#
@ -66,7 +67,7 @@ QMAKE_EXTRA_TARGETS += clean plugininfo_clean
TRANSLATIONS *= $$files($${_PRO_FILE_PWD_}/translations/*ts, true)
lupdate.depends = FORCE
lupdate.depends += plugininfo
lupdate.commands = lupdate -recursive -no-obsolete $$PWD/"$$TARGET".pro;
lupdate.commands = lupdate -recursive -no-obsolete $${_PRO_FILE_PWD_}/"$$TARGET".pro;
QMAKE_EXTRA_TARGETS += lupdate
# make lrelease to build .qm from .ts