doc/share/pgpkeys/Makefile
Glen Barber c36e58b0b5 Unconditionally build pgpkeyring file.
Reported by:	peter
Sponsored by:	The FreeBSD Foundation
2016-10-05 03:52:30 +00:00

26 lines
643 B
Makefile

# $FreeBSD$
DOC_PREFIX?= ${.CURDIR}/../..
XSLPGP= http://www.FreeBSD.org/XML/share/xml/freebsd-pgpkeyring.xsl
FILES= pgpkeyring.txt
CLEANFILES= pgpkeyring.txt keyring.xml
keyring.xml: .PHONY
@${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:
@${MAKE} pgpkeyring >${.TARGET}
.include "${DOC_PREFIX}/share/mk/doc.project.mk"
.if defined(FINGERPRINTS_ONLY)
XSLTPROCOPTS+=--param generate.fingerprint.only '1'
.endif