Remove the temporary assembled document after generating a PO file to

make sure it does not hide changes in the English parent from translators.

Sponsored by:	iXsystems
This commit is contained in:
Warren Block 2017-09-08 14:29:06 +00:00
parent e8555b8ea0
commit 13f5ecf9c7
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=50809

View file

@ -369,7 +369,7 @@ ${PO_LANG}.po: ${DOC}.translate.xml
${MSGMERGE} -o ${PO_LANG}.po.new ${PO_LANG}.po ${PO_LANG}.po.tmp ; \
${MSGATTRIB} --no-obsolete -o ${PO_LANG}.po.new ${PO_LANG}.po ; \
${MV} ${PO_LANG}.po.new ${PO_LANG}.po ; \
${RM} ${PO_LANG}.po.tmp ; \
${RM} ${PO_LANG}.po.tmp ${DOC}.translate.xml ; \
else \
${ECHO} "${PO_LANG}.po created, please check and correct the settings in the header" ; \
${MV} ${PO_LANG}.po.tmp ${PO_LANG}.po ; \