Ecrire: Fixed possible race.

Po creation depends on having the pot file.

SVN revision: 68734
This commit is contained in:
Tom Hacohen 2012-03-05 20:04:43 +00:00
parent 6a0c0ea390
commit 73c5610237
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ macro(GettextTranslate)
${PO_FILE_NAME} ${TEMPLATE_FILE_ABS}
-o ${PO_FILE_NAME}.new
COMMAND mv ${PO_FILE_NAME}.new ${PO_FILE_NAME}
DEPENDS ${TEMPLATE_FILE_ABS}
DEPENDS ${MAKEVAR_DOMAIN}.pot-update
)
endif()