- Move the PGP keyring generation to the language-independent share directory
Discussed with: hrs, wblockprojects/sysctl^2
parent
42293fc096
commit
bc0ea04e7d
Notes:
svn2git
3 years ago
svn path=/head/; revision=44166
@ -0,0 +1,5 @@
|
||||
# $FreeBSD$
|
||||
|
||||
SUBDIR+= pgpkeys
|
||||
|
||||
.include <bsd.subdir.mk>
|
@ -0,0 +1,24 @@
|
||||
# $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
|
Loading…
Reference in New Issue