Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Oct 2019 21:23:40 +0000 (UTC)
From:      Glen Barber <gjb@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r53481 - in head/en_US.ISO8859-1/htdocs/releases: 12.0R/relnotes 12.1R/relnotes
Message-ID:  <201910092123.x99LNevW054303@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gjb
Date: Wed Oct  9 21:23:40 2019
New Revision: 53481
URL: https://svnweb.freebsd.org/changeset/doc/53481

Log:
  Fix footer variable expansion in the relnotes.html pages for
  12.0 and 12.1.
  
  Sponsored by:	Rubicon Communications, LLC (Netgate)

Modified:
  head/en_US.ISO8859-1/htdocs/releases/12.0R/relnotes/Makefile
  head/en_US.ISO8859-1/htdocs/releases/12.1R/relnotes/Makefile

Modified: head/en_US.ISO8859-1/htdocs/releases/12.0R/relnotes/Makefile
==============================================================================
--- head/en_US.ISO8859-1/htdocs/releases/12.0R/relnotes/Makefile	Wed Oct  9 19:45:26 2019	(r53480)
+++ head/en_US.ISO8859-1/htdocs/releases/12.0R/relnotes/Makefile	Wed Oct  9 21:23:40 2019	(r53481)
@@ -9,7 +9,20 @@ FORMATS?=		html txt
 INSTALL_COMPRESSED?=	gz
 INSTALL_ONLY_COMPRESSED=
 
+RELEASEBRANCH!=		grep -o 'release.branch "\([^"]*\)"' \
+			${.CURDIR}/../share/xml/release.ent | \
+			sed 's|[^ ]* "\([^"]*\)"|\1|'
+RELEASEMAILLIST!=	grep -o 'release.maillist "\([^"]*\)"' \
+			${.CURDIR}/../share/xml/release.ent | \
+			sed 's|[^ ]* "\([^"]*\)"|\1|'
+RELEASEURL!=		grep -o 'release.url \"[^\"]*\"' \
+			${.CURDIR}/../share/xml/release.ent | \
+			sed 's|[^ ]* "\([^"]*\)"|\1|'
+
 XSLTPROCFLAGS+=		--param toc.section.depth "'3'"
+XSLTPROCFLAGS+=		--param release.branch "'${RELEASEBRANCH}'"
+XSLTPROCFLAGS+=		--param release.maillist "'${RELEASEMAILLIST}'"
+XSLTPROCFLAGS+=		--param release.url "'${RELEASEURL}'"
 XSLXHTML=	http://www.FreeBSD.org/XML/share/xml/freebsd-xhtml-release.xsl
 
 .PHONY:			${DOC}.parsed.xml

Modified: head/en_US.ISO8859-1/htdocs/releases/12.1R/relnotes/Makefile
==============================================================================
--- head/en_US.ISO8859-1/htdocs/releases/12.1R/relnotes/Makefile	Wed Oct  9 19:45:26 2019	(r53480)
+++ head/en_US.ISO8859-1/htdocs/releases/12.1R/relnotes/Makefile	Wed Oct  9 21:23:40 2019	(r53481)
@@ -9,7 +9,20 @@ FORMATS?=		html txt
 INSTALL_COMPRESSED?=	gz
 INSTALL_ONLY_COMPRESSED=
 
+RELEASEBRANCH!=		grep -o 'release.branch "\([^"]*\)"' \
+			${.CURDIR}/../share/xml/release.ent | \
+			sed 's|[^ ]* "\([^"]*\)"|\1|'
+RELEASEMAILLIST!=	grep -o 'release.maillist "\([^"]*\)"' \
+			${.CURDIR}/../share/xml/release.ent | \
+			sed 's|[^ ]* "\([^"]*\)"|\1|'
+RELEASEURL!=		grep -o 'release.url \"[^\"]*\"' \
+			${.CURDIR}/../share/xml/release.ent | \
+			sed 's|[^ ]* "\([^"]*\)"|\1|'
+
 XSLTPROCFLAGS+=		--param toc.section.depth "'3'"
+XSLTPROCFLAGS+=		--param release.branch "'${RELEASEBRANCH}'"
+XSLTPROCFLAGS+=		--param release.maillist "'${RELEASEMAILLIST}'"
+XSLTPROCFLAGS+=		--param release.url "'${RELEASEURL}'"
 XSLXHTML=	http://www.FreeBSD.org/XML/share/xml/freebsd-xhtml-release.xsl
 
 .PHONY:			${DOC}.parsed.xml



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910092123.x99LNevW054303>