Date: Fri, 12 Sep 2014 17:02:13 +0000 (UTC) From: Glen Barber <gjb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r271472 - in stable/9/release/doc: en_US.ISO8859-1/share/xml share/mk share/xml Message-ID: <201409121702.s8CH2DUj046003@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gjb Date: Fri Sep 12 17:02:13 2014 New Revision: 271472 URL: http://svnweb.freebsd.org/changeset/base/271472 Log: MFC r271331: 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) Sponsored by: The FreeBSD Foundation Modified: stable/9/release/doc/en_US.ISO8859-1/share/xml/release.xsl stable/9/release/doc/share/mk/doc.relnotes.mk stable/9/release/doc/share/xml/release.ent stable/9/release/doc/share/xml/release.xsl Directory Properties: stable/9/release/doc/ (props changed) Modified: stable/9/release/doc/en_US.ISO8859-1/share/xml/release.xsl ============================================================================== --- stable/9/release/doc/en_US.ISO8859-1/share/xml/release.xsl Fri Sep 12 17:01:14 2014 (r271471) +++ stable/9/release/doc/en_US.ISO8859-1/share/xml/release.xsl Fri Sep 12 17:02:13 2014 (r271472) @@ -8,6 +8,7 @@ <xsl:param name="release.url"/> <xsl:param name="release.branch"/> + <xsl:param name="release.maillist"/> <xsl:template name="user.footer.content"> <p align="center"><small>This file, and other release-related documents, @@ -18,7 +19,7 @@ contacting <<a href="mailto:questions@FreeBSD.org">questions@FreeBSD.org</a>>.</small></p> <p align="center"><small>All users of FreeBSD <xsl:value-of select="$release.branch"/> should - subscribe to the <<a href="mailto:stable@FreeBSD.org">stable@FreeBSD.org</a>> + subscribe to the <<a href="mailto:{$release.maillist}@FreeBSD.org"><xsl:value-of select="$release.maillist"/>@FreeBSD.org</a>> mailing list.</small></p> <p align="center"><small>For questions about this documentation, Modified: stable/9/release/doc/share/mk/doc.relnotes.mk ============================================================================== --- stable/9/release/doc/share/mk/doc.relnotes.mk Fri Sep 12 17:01:14 2014 (r271471) +++ stable/9/release/doc/share/mk/doc.relnotes.mk Fri Sep 12 17:02:13 2014 (r271472) @@ -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 "' .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 \ Modified: stable/9/release/doc/share/xml/release.ent ============================================================================== --- stable/9/release/doc/share/xml/release.ent Fri Sep 12 17:01:14 2014 (r271471) +++ stable/9/release/doc/share/xml/release.ent Fri Sep 12 17:02:13 2014 (r271472) @@ -22,6 +22,9 @@ <!-- The URL for obtaining this version of FreeBSD. --> <!ENTITY release.url "http://www.FreeBSD.org/releases/"> +<!-- The recommended mailing list to track. --> +<!ENTITY release.maillist "stable"> + <!-- The type of release (usually this will be either "snapshot" or "release" --> Modified: stable/9/release/doc/share/xml/release.xsl ============================================================================== --- stable/9/release/doc/share/xml/release.xsl Fri Sep 12 17:01:14 2014 (r271471) +++ stable/9/release/doc/share/xml/release.xsl Fri Sep 12 17:02:13 2014 (r271472) @@ -12,6 +12,7 @@ <xsl:param name="release.url"/> <xsl:param name="release.branch"/> + <xsl:param name="release.maillist"/> <xsl:template name="paragraph"> <xsl:param name="class" select="''"/>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409121702.s8CH2DUj046003>