make sure we create the translations path before rsync decies to

and sometimes collides with concurrent builds of other plugins
This commit is contained in:
Michael Zanetti 2017-10-15 19:29:19 +02:00
parent 804f974c3d
commit 9e712b9d5e

View File

@ -33,6 +33,7 @@ plugininfo.commands = touch ${QMAKE_FILE_OUT}; guh-generateplugininfo \
--output ${QMAKE_FILE_OUT} \
--builddir $$OUT_PWD \
--translations $$TRANSLATIONS; \
mkdir -p $$shadowed($$PWD)/translations/ || true; \
rsync -a "$$OUT_PWD"/translations/*.qm $$shadowed($$PWD)/translations/;
PRE_TARGETDEPS += compiler_plugininfo_make_all
QMAKE_EXTRA_COMPILERS += plugininfo