Fix generating pgpkeyring.txt when it does not exist, which seems

to have been broken following r51076 or r51077.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Glen Barber 2017-12-06 18:50:32 +00:00
parent fda182d10e
commit 98e2f81109
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=51260
2 changed files with 4 additions and 1 deletions

View file

@ -32,9 +32,10 @@ install:
${MAKE} -C ${DOC_PREFIX}/${LANGCODE} FORMATS="${_DOC_FORMATS}" DOCDIR=${DESTDIR}/data/doc install
${CP} ${DOC_PREFIX}/share/pgpkeys/pgpkeyring.txt ${DESTDIR}/data/doc/pgpkeyring.txt
beforeinstall:
.include "${DOC_PREFIX}/share/mk/web.site.mk"
.if ${LANGCODE} == en_US.ISO8859-1
all: all-pgpkeyring
${MAKE} -C ${.CURDIR} all-pgpkeyring
.endif

View file

@ -7,6 +7,8 @@ XSLPGP= http://www.FreeBSD.org/XML/share/xml/freebsd-pgpkeyring.xsl
FILES= pgpkeyring.txt
CLEANFILES= pgpkeyring.txt keyring.xml
all: keyring.xml pgpkeyring pgpkeyring.txt
keyring.xml: .PHONY
@${ECHO_CMD} "<?xml version='1.0' encoding='UTF-8'?>" > ${.TARGET}
@${ECHO_CMD} "<keyring>" >> ${.TARGET}