Add dependency on share/pgpkeys/*.key. This is a temporary measure

and the build system should be fixed to support it properly.
This commit is contained in:
Hiroki Sato 2020-09-02 22:03:14 +00:00
parent 6efa776320
commit 76db201fa4
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=54457
2 changed files with 10 additions and 1 deletions

View file

@ -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

View file

@ -16,7 +16,7 @@ XML_CATALOG_CWD= ${DOC_PREFIX}/share/xml/catalog-cwd.xml
# 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}
@ -231,6 +231,9 @@ _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
#