aboutsummaryrefslogtreecommitdiff
path: root/release/doc/share/mk
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2014-09-09 19:51:57 +0000
committerGlen Barber <gjb@FreeBSD.org>2014-09-09 19:51:57 +0000
commit361246024afda638e12acf8c9555e0826e36d558 (patch)
treef2ba1110d843a191a9772871ca87d60cdba658e9 /release/doc/share/mk
parent4309e7b020a897f4dfba14082315cb63a22863c1 (diff)
downloadsrc-361246024afda638e12acf8c9555e0826e36d558.tar.gz
src-361246024afda638e12acf8c9555e0826e36d558.zip
Change how the recommended mailing list to track is
added to the footer of the release/doc/ pages by moving a hard-coded value (that is subject to human error to change) to release.ent where other values are regularly changed, and adding parsing logic to release.xsl. Approved by: re (implicit) MFC after: 3 days Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=271331
Diffstat (limited to 'release/doc/share/mk')
-rw-r--r--release/doc/share/mk/doc.relnotes.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/release/doc/share/mk/doc.relnotes.mk b/release/doc/share/mk/doc.relnotes.mk
index 8034c6315d3d..8ae9fd0e92c0 100644
--- a/release/doc/share/mk/doc.relnotes.mk
+++ b/release/doc/share/mk/doc.relnotes.mk
@@ -6,6 +6,7 @@ DOC_PREFIX?= ${RELN_ROOT}/../../../doc
RELEASETYPE!= grep -o 'release.type "[a-z]*"' ${RELN_ROOT}/share/xml/release.ent | sed 's|[a-z.]* "\([a-z]*\)"|\1|'
RELEASEURL!= grep -o 'release.url \"[^\"]*\"' ${RELN_ROOT}/share/xml/release.ent | sed 's|[^ ]* "\([^"]*\)"|\1|'
RELEASEBRANCH!= grep -o 'release.branch "\([^"]*\)"' ${RELN_ROOT}/share/xml/release.ent | sed 's|[^ ]* "\([^"]*\)"|\1|'
+RELEASEMAILLIST!= grep -o 'release.maillist "\([^"]*\)"' ${RELN_ROOT}/share/xml/release.ent | sed 's|[^ ]* "\([^"]*\)"|\1|'
.if ${RELEASETYPE} == "current"
PROFILING+= --param profile.attribute "'releasetype'" --param profile.value "'current'"
.elif ${RELEASETYPE} == "snapshot"
@@ -15,6 +16,7 @@ PROFILING+= --param profile.attribute "'releasetype'" --param profile.value "'re
.endif
XSLTPROCFLAGS+= --param release.url "'${RELEASEURL}'"
XSLTPROCFLAGS+= --param release.branch "'${RELEASEBRANCH}'"
+XSLTPROCFLAGS+= --param release.maillist "'${RELEASEMAILLIST}'"
# Find the RELNOTESng document catalogs
EXTRA_CATALOGS+= file://${RELN_ROOT}/${LANGCODE}/share/xml/catalog.xml \