aboutsummaryrefslogtreecommitdiff
path: root/release/doc/share/mk/doc.relnotes.mk
diff options
context:
space:
mode:
authorBruce A. Mah <bmah@FreeBSD.org>2002-06-20 21:19:49 +0000
committerBruce A. Mah <bmah@FreeBSD.org>2002-06-20 21:19:49 +0000
commitd0e8afbf5a6a5bc0226a2db52b719ac49fead983 (patch)
treee9b57d9b1c7a60bb2e7c1e6382106995f9ad1a26 /release/doc/share/mk/doc.relnotes.mk
parentd813626f4d694ab2e7f5772aaea801f714a6409f (diff)
downloadsrc-d0e8afbf5a6a5bc0226a2db52b719ac49fead983.tar.gz
src-d0e8afbf5a6a5bc0226a2db52b719ac49fead983.zip
Provide a way to keep out old ("historic") release notes from bloating
the size of the rendered release notes. By default, any element with a role="historic" attribute won't get rendered in the output unless the INCLUDE_HISTORIC Makefile variable is defined.
Notes
Notes: svn path=/head/; revision=98515
Diffstat (limited to 'release/doc/share/mk/doc.relnotes.mk')
-rw-r--r--release/doc/share/mk/doc.relnotes.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/release/doc/share/mk/doc.relnotes.mk b/release/doc/share/mk/doc.relnotes.mk
index 546ad9f2b736..0335640342c1 100644
--- a/release/doc/share/mk/doc.relnotes.mk
+++ b/release/doc/share/mk/doc.relnotes.mk
@@ -9,3 +9,20 @@ EXTRA_CATALOGS+= ${RELN_ROOT}/share/sgml/catalog
# Use the appropriate architecture-dependent RELNOTESng stylesheet
DSLHTML?= ${RELN_ROOT}/share/sgml/default.dsl
DSLPRINT?= ${RELN_ROOT}/share/sgml/default.dsl
+
+#
+# Tweakable Makefile variables
+#
+# INCLUDE_HISTORIC Used by relnotes document only. When set,
+# causes all release notes entries to be printed,
+# even those marked as "historic". If not set
+# (the default), only print "non-historic"
+# release note entries. To designate a release
+# note entry as "historic", add a role="historic"
+# attribute to the applicable element(s).
+#
+.if defined(INCLUDE_HISTORIC)
+JADEFLAGS+= -iinclude.historic
+.else
+JADEFLAGS+= -ino.include.historic
+.endif