bc0ea04e7d
Discussed with: hrs, wblock
24 lines
605 B
Makefile
24 lines
605 B
Makefile
# $FreeBSD$
|
|
|
|
XSLPGP= http://www.FreeBSD.org/XML/share/xml/freebsd-pgpkeyring.xsl
|
|
|
|
FILES= pgpkeyring.txt
|
|
CLEANFILES= pgpkeyring.txt keyring.xml
|
|
|
|
keyring.xml:
|
|
@${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
|