the creation of pgpkeyring.txt must be atomar

This commit is contained in:
Wolfram Schneider 2017-10-06 14:22:45 +00:00
parent b1c971fa20
commit 38a74a6b52
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=51067

View file

@ -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"