2014-03-07 13:23:51 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2014-03-07 15:28:49 +01:00
|
|
|
DOC_PREFIX?= ${.CURDIR}/../..
|
|
|
|
|
2014-03-07 13:23:51 +01:00
|
|
|
XSLPGP= http://www.FreeBSD.org/XML/share/xml/freebsd-pgpkeyring.xsl
|
|
|
|
|
|
|
|
FILES= pgpkeyring.txt
|
|
|
|
CLEANFILES= pgpkeyring.txt keyring.xml
|
|
|
|
|
2016-10-05 05:52:30 +02:00
|
|
|
keyring.xml: .PHONY
|
2014-03-07 13:23:51 +01:00
|
|
|
@${ECHO_CMD} "<?xml version='1.0' encoding='UTF-8'?>" > ${.TARGET}
|
|
|
|
@${ECHO_CMD} "<keyring>" >> ${.TARGET}
|
|
|
|
@${CAT} *.key >> ${.TARGET}
|
|
|
|
@${ECHO_CMD} "</keyring>" >> ${.TARGET}
|
|
|
|
|
|
|
|
pgpkeyring: keyring.xml
|
|
|
|
@${XSLTPROC} ${XSLTPROCOPTS} ${XSLPGP} keyring.xml
|
|
|
|
|
|
|
|
pgpkeyring.txt:
|
2017-10-06 16:22:45 +02:00
|
|
|
@${MAKE} pgpkeyring > ${.TARGET}.tmp
|
|
|
|
${MV} ${.TARGET}.tmp ${.TARGET}
|
2014-03-07 13:23:51 +01:00
|
|
|
|
|
|
|
.include "${DOC_PREFIX}/share/mk/doc.project.mk"
|
|
|
|
|
|
|
|
.if defined(FINGERPRINTS_ONLY)
|
|
|
|
XSLTPROCOPTS+=--param generate.fingerprint.only '1'
|
|
|
|
.endif
|