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 6fa4ca6479
commit 9c7bccc58b

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