svn commit: r54457 - in head: en_US.ISO8859-1/articles/pgpkeys share/mk

Hiroki Sato hrs at FreeBSD.org
Wed Sep 2 22:03:15 UTC 2020


Author: hrs
Date: Wed Sep  2 22:03:14 2020
New Revision: 54457
URL: https://svnweb.freebsd.org/changeset/doc/54457

Log:
  Add dependency on share/pgpkeys/*.key.  This is a temporary measure
  and the build system should be fixed to support it properly.

Modified:
  head/en_US.ISO8859-1/articles/pgpkeys/Makefile
  head/share/mk/doc.xml.mk

Modified: head/en_US.ISO8859-1/articles/pgpkeys/Makefile
==============================================================================
--- head/en_US.ISO8859-1/articles/pgpkeys/Makefile	Wed Sep  2 18:45:26 2020	(r54456)
+++ head/en_US.ISO8859-1/articles/pgpkeys/Makefile	Wed Sep  2 22:03:14 2020	(r54457)
@@ -19,3 +19,9 @@ URL_RELPREFIX?=	../../../..
 DOC_PREFIX?=	${.CURDIR}/../../..
 
 .include "${DOC_PREFIX}/share/mk/doc.project.mk"
+
+# XXXHRS temporary measure to handle PGP key dependency
+.PATH: ${DOC_PREFIX}/share/pgpkeys
+.for f in ${FORMATS}
+${DOC}.${f}: ${_DEPENDSET.pgpkeys}
+.endfor

Modified: head/share/mk/doc.xml.mk
==============================================================================
--- head/share/mk/doc.xml.mk	Wed Sep  2 18:45:26 2020	(r54456)
+++ head/share/mk/doc.xml.mk	Wed Sep  2 22:03:14 2020	(r54457)
@@ -16,7 +16,7 @@ XML_CATALOG_CWD=	${DOC_PREFIX}/share/xml/catalog-cwd.x
 # Variables used in DEPENDSET
 
 _DEPENDSET.all=	wwwstd transtable mirrors usergroups commercial \
-		news press events advisories notices
+		news press events advisories notices pgpkeys
 
 # DEPENDSET: wwwstd  .........................................................
 _DEPENDSET.wwwstd=	${XML_INCLUDES}
@@ -230,6 +230,9 @@ XML_ADVISORIES=		${DOC_PREFIX}/share/xml/advisories.xm
 _DEPENDSET.notices=	${XML_NOTICES} ${XML_INCLUDES}
 _PARAMS.notices=	--param notices.xml "'${XML_NOTICES}'"
 XML_NOTICES=		${DOC_PREFIX}/share/xml/notices.xml
+
+# DEPENDSET: pgpkeys  ........................................................
+_DEPENDSET.pgpkeys!=	cd ${DOC_PREFIX}/share/pgpkeys && echo *.key *.ent
 
 # ---
 # .xml -> .html rendering rule


More information about the svn-doc-all mailing list