aboutsummaryrefslogtreecommitdiff
path: root/release/doc/share/mk/doc.relnotes.mk
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2014-01-14 22:46:23 +0000
committerHiroki Sato <hrs@FreeBSD.org>2014-01-14 22:46:23 +0000
commitfd11bdfba7240dabe4a1c2816f2e39815679dddc (patch)
treee9de402893bde84ff002602da50ef1351575ad95 /release/doc/share/mk/doc.relnotes.mk
parente852d6bc48ee32f3d7df323ab08f811a6fc34c54 (diff)
downloadsrc-fd11bdfba7240dabe4a1c2816f2e39815679dddc.tar.gz
src-fd11bdfba7240dabe4a1c2816f2e39815679dddc.zip
- Purge old translations.
- Add missing footer due to DSSSL->XSLT migration and use XML catalog to resolve URI[*]. Based on the work by: gabor [*]
Notes
Notes: svn path=/head/; revision=260653
Diffstat (limited to 'release/doc/share/mk/doc.relnotes.mk')
-rw-r--r--release/doc/share/mk/doc.relnotes.mk9
1 files changed, 6 insertions, 3 deletions
diff --git a/release/doc/share/mk/doc.relnotes.mk b/release/doc/share/mk/doc.relnotes.mk
index 19247ac2610d..8034c6315d3d 100644
--- a/release/doc/share/mk/doc.relnotes.mk
+++ b/release/doc/share/mk/doc.relnotes.mk
@@ -4,6 +4,8 @@ DOC_PREFIX?= ${RELN_ROOT}/../../../doc
# XXX
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|'
.if ${RELEASETYPE} == "current"
PROFILING+= --param profile.attribute "'releasetype'" --param profile.value "'current'"
.elif ${RELEASETYPE} == "snapshot"
@@ -11,13 +13,14 @@ PROFILING+= --param profile.attribute "'releasetype'" --param profile.value "'sn
.elif ${RELEASETYPE} == "release"
PROFILING+= --param profile.attribute "'releasetype'" --param profile.value "'release'"
.endif
+XSLTPROCFLAGS+= --param release.url "'${RELEASEURL}'"
+XSLTPROCFLAGS+= --param release.branch "'${RELEASEBRANCH}'"
# Find the RELNOTESng document catalogs
EXTRA_CATALOGS+= file://${RELN_ROOT}/${LANGCODE}/share/xml/catalog.xml \
- file://${RELN_ROOT}/share/xml/catalog.xml
+ file://${RELN_ROOT}/share/xml/catalog.xml
-# Use the appropriate architecture-dependent RELNOTESng stylesheet
-DSLPRINT?= ${RELN_ROOT}/share/xml/default.dsl
+XSLXHTML= http://www.FreeBSD.org/release/XML/share/xml/release.xsl
#
# Automatic device list generation: