Fix building pgpkeyring.txt with parallel builds by setting .ORDER
targets. [1] While here, change the all-pgpkeyring target, forgotten in r51260. Reported by: wosch [1] Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
870aad0cf4
commit
f42eb9f25c
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=51301
2 changed files with 6 additions and 2 deletions
|
@ -21,7 +21,7 @@ all-all:
|
|||
${MAKE} -C ${DOC_PREFIX}/${LANGCODE} FORMATS="${_DOC_FORMATS}" all
|
||||
|
||||
all-pgpkeyring:
|
||||
${MAKE} -C ${DOC_PREFIX}/share/pgpkeys pgpkeyring.txt
|
||||
${MAKE} -C ${DOC_PREFIX}/share/pgpkeys all
|
||||
|
||||
clean:
|
||||
${MAKE} -C ${DOC_PREFIX}/${LANGCODE} FORMATS="${_DOC_FORMATS}" DOCDIR=${DESTDIR}/data/doc clean
|
||||
|
|
|
@ -7,6 +7,9 @@ XSLPGP= http://www.FreeBSD.org/XML/share/xml/freebsd-pgpkeyring.xsl
|
|||
FILES= pgpkeyring.txt
|
||||
CLEANFILES= pgpkeyring.txt keyring.xml
|
||||
|
||||
.ORDER: pgpkeyring pgpkeyring.txt
|
||||
.ORDER: keyring.xml pgpkeyring.txt
|
||||
|
||||
all: keyring.xml pgpkeyring pgpkeyring.txt
|
||||
|
||||
keyring.xml: .PHONY
|
||||
|
@ -19,7 +22,8 @@ pgpkeyring: keyring.xml
|
|||
@${XSLTPROC} ${XSLTPROCOPTS} ${XSLPGP} keyring.xml
|
||||
|
||||
pgpkeyring.txt:
|
||||
@${MAKE} pgpkeyring > ${.TARGET}.tmp
|
||||
@${RM} -f ${.TARGET}.tmp || true
|
||||
@${MAKE} -C ${.CURDIR} pgpkeyring > ${.TARGET}.tmp
|
||||
${MV} ${.TARGET}.tmp ${.TARGET}
|
||||
|
||||
.include "${DOC_PREFIX}/share/mk/doc.project.mk"
|
||||
|
|
Loading…
Reference in a new issue