diff --git a/share/pgpkeys/Makefile b/share/pgpkeys/Makefile index 30c7557954..8fa5e1a7a1 100644 --- a/share/pgpkeys/Makefile +++ b/share/pgpkeys/Makefile @@ -17,7 +17,8 @@ pgpkeyring: keyring.xml @${XSLTPROC} ${XSLTPROCOPTS} ${XSLPGP} keyring.xml pgpkeyring.txt: - @${MAKE} pgpkeyring >${.TARGET} + @${MAKE} pgpkeyring > ${.TARGET}.tmp + ${MV} ${.TARGET}.tmp ${.TARGET} .include "${DOC_PREFIX}/share/mk/doc.project.mk"